Woosage50 logs information about the progress and status of processing tasks and this is displayed in the Logs tab, as shown below.
The primary purpose of the log entries is to provide details about exceptions, such as errors and warnings. A secondary function is to log information that may be useful when troubleshooting issues, such as Debug entries or API entries, which are more likely to be used by Woosage Support.
Log entries are normally displayed in chronological order with the latest messages showing first, but the sort order can be changed using the Order by drop-down. The display can also be searched and filtered by the Log entry type. Exceptions, such as errors and warnings, will be reported via email notification as a summary of the number of occurance of each exception. When exceptions relate to orders, or products or customers, the item reference will be provided (such as order number, SKU or account code)
Warnings & Errors
Woosage50 may generate exceptions during processing and these are generally, one of the following types, which are selected for display by default.
- Warnings - These are issues that do not prevent the processing of the item concerned (such as an order import or product update). They usually draw to your attention something you may not be aware of, such as a product on Sage marked as a web product, but not found on the website (and product creation is disabled).
- Errors - These are issue that will usually prevent the successful processing of an item (such as a SKU missing from an order line item) or a more serious issue (such as being unable to access Sage).
When exceptions relate to orders, products or customers, the item reference will be provided (e.g. order number, SKU or account code)
Debug Log Entries
Woosage logs information about each step it takes during processing and logs this as a debug message. They are not normally displayed in the log, so to view them tick the log entry labelled Debug and click Apply. The debug filter is automatically reset with a page refresh, but if you want to have Woosage50 retain this setting then set Remember log entry type filters to Yes in Settings>Advanced.
The following example product CAP01 has had the regular price changed from 7.2 to 6. The Object indicates it is a product with WooCommerce id 28 clicking this will take you to the product page for this item. Click image to view detail.
Debug entries should not be confused with Debug Mode, which is activate via the Settings>Advanced and provides additional information about exceptions, that may help in resolving processing issues. REST API Log Entries
All Woosage50 API activity is also logged, but is not displayed by default. To display API log entries tick the log entry labelled REST API and click Apply. The REST API filter is automatically reset with a page refresh, but if you want to have Woosage50 retain this setting then set Remember log entry type filters to Yes in Settings>Advanced.
The following is an example of some REST API log entries. The message contain detail of the status, parameters, body & headers, where relevant, and clicking underlined entries will expand the content. Click image to view detail.
Only the Woosage50 API activity is logged and not the activity associated with other APIs, such as WordPress or WooCommerce.