CMS WorldLink has several settings to capture log and XML information about each shipment for debugging purposes. These can be set in CustomBeforeShip in the ProcessShipment client event as follows:
oXml.selectSingleNode("//Shipment/CreateLog").text = "1"
oXml.selectSingleNode("//Shipment/CaptureXML").text = "1"
oXml.selectSingleNode("//Shipment/DebugFlag").text = "1"
To turn on these options temporarily when troubleshooting an issue, select Ctrl-G from the Process Shipments screen. "** LOGGING **" will appear in the banner on the upper right to indicate it has been activated. Selecting Ctrl-G again will turn it off. When logging is turned on this way, the logging will continue only for the current session.
The debug files will be placed on the C:\ drive of the server. These can be accessed through WorldLink by selecting System Tools | WL Log Files. A search form will appear that allows you to filter the results, then a list of the selected files will appear. The following buttons are available:
Delete - Delete the selected file.
Delete All - Delete all files shown on the screen from the C:\ drive. If you have filtered your results, only those files displayed in the screen will be deleted.
Download - Download the selected file locally.