Logging

Created by Migration Bot, Modified on Fri, 23 Oct at 11:32 AM by Migration Bot

Originally written by Robbie Lewis, last updated Jul 10, 2023, on the Swan Retail knowledge base (SRS).

Part of: Swan eCommerce for SRS › Swan Retail SRS WooCommerce Plugin


The Swan Retail SRS integration is constantly logging information about the synchronisation of products, orders, customers and quotes.

The logs on the website can be searched using the Debug tool.

Types of log files

Log files are sorted into different folders depending on the process which created them.

Log folder

Usage

Comments

products/

Product XML Diff cache

Files found in this folder represent the most up to date XML data representing the product. The data has been stored from the last update received for that product from SRS.

The filename of the log file is the SRS stock item code for the product.

api/

API requests from SRS

Whenever an API request is made to web by SRS, the request, including any request parameters, is stored in these files.

The filename of the log file is the time that the request was received. The log file is stored in a folder which represents the date the request was made.

batch/

Batch insert of data to WooCommerce

When the SRS WooCommerce plugin updates web it groups updates together into batches to improve performance. These batch requests are stored as files in this folder. The file includes the response from WooCommerce after processing the request.

The filename of the log file is the time that the request was received. The log file is stored in a folder which represents the date the request was made.

swan/

XML data received from SRS

As updates are recieved from SRS, the XML is stored in this folder as a record.

The filename of the log file is the time that the request was received. The log file is stored in a folder which represents the date the request was made.

woo/

Responses from WooCommerce API

If errors are received from the WooCommerce API while syncing data, the error responses are stored here. This can be in relation to many things such as: products, categories, attributes, images.

The filename of the log file is the time that the request was received. The log file is stored in a folder which represents the date the request was made.

quote/

Retrieval of SRS quotes used for “Pay for quote online” feature

If the “Pay for quote online” feature is enabled, customers can retrieve web-enabled SRS quotes via a form on the website and it will populate their basket according to the SRS quote. Any discounts or delivery charges will be applied, overriding the website defaults.

The filename of the log file is the time that the request was received. The log file is stored in a folder which represents the date the request was made.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article