Logging

Logging is used to write XML requests from Sana to Microsoft Dynamics NAV and responses from Microsoft Dynamics NAV to Sana. Sana Commerce Cloud communicates with Microsoft Dynamics NAV via Web service. You can use XML requests and responses for troubleshooting and debugging.

By default, logging is disabled as it affects performance. Therefore, it is better to use it only for debugging purposes.

In Microsoft Dynamics NAV click: Webshop > Administration > Setup.

Use the Enable Logging checkbox to enable and disable logging. If logging is enabled, click View Logs to see the list of all log files, the type of each log file, request or response, its name and status. If there is an error in a response from Microsoft Dynamics NAV, the status of this log will be Failed and the error message will be shown in the Description field.

If you need to open and see the details of the log file or save it, select the necessary request or response and click View Details.

You can also process requests using Manual Process Requests for debugging purposes.