{"id":369,"date":"2026-02-09T05:03:17","date_gmt":"2026-02-09T05:03:17","guid":{"rendered":"https:\/\/sitepact.com\/docs\/guide\/mautic-integration-for-woocommerce\/tools-administration\/woocommerce-logs\/"},"modified":"2026-02-09T05:03:17","modified_gmt":"2026-02-09T05:03:17","slug":"woocommerce-logs","status":"publish","type":"docs","link":"https:\/\/sitepact.com\/docs\/guide\/mautic-integration-for-woocommerce\/tools-administration\/woocommerce-logs\/","title":{"rendered":"WooCommerce Logs"},"content":{"rendered":"\n<p>In addition to the Sync Log, the plugin writes detailed log entries to the WooCommerce logging system. These logs capture internal operations, API communication details, warnings, and errors that help with advanced troubleshooting.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Where to Find the Logs<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In WordPress, go to <strong>WooCommerce &gt; Status<\/strong>.<\/li>\n<li>Click the <strong>Logs<\/strong> tab.<\/li>\n<li>Look for log files with the source name <code>mautic-integration-woocommerce<\/code>.<\/li>\n<\/ol>\n\n\n\n<p>You can also reach this page directly from the Tools tab by clicking the <strong>View Logs<\/strong> button in the Logs section.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Logging Levels<\/h2>\n\n\n\n<p>The plugin supports two logging modes that control how much information is written to the logs:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Normal Mode (Default)<\/h3>\n\n\n\n<p>In normal mode, the plugin only logs entries at the <strong>warning<\/strong> level and above. This includes warnings, errors, critical errors, and emergency messages. Routine operations like successful API calls are not logged. This keeps the log files small and focused on problems that need attention.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Debug Mode<\/h3>\n\n\n\n<p>When debug mode is enabled, the plugin logs everything, including all API requests sent to Mautic and the responses received. This is the most detailed logging level and captures debug, info, notice, warning, and error messages.<\/p>\n\n\n\n<p>Debug mode is helpful when you need to see exactly what data the plugin is sending to Mautic, or when you want to confirm that API calls are being made at the right times. It is also useful for identifying issues with specific API responses from your Mautic instance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Enabling Debug Mode<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>WooCommerce &gt; Mautic Integration &gt; Connection<\/strong>.<\/li>\n<li>Check the box labeled <strong>Debug Mode<\/strong>.<\/li>\n<li>Click <strong>Save Changes<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p>Once enabled, the plugin will immediately begin writing detailed log entries for all operations. You can view these entries by navigating to the WooCommerce Logs page as described above.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">When to Disable Debug Mode<\/h2>\n\n\n\n<p>Debug mode generates a large volume of log data, especially on stores with frequent orders or active abandoned cart tracking. It is recommended to keep debug mode turned off during normal operation and only enable it temporarily when investigating a specific issue. Once you have collected the information you need, return to the Connection tab and uncheck Debug Mode to reduce log file size and improve performance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Fallback Logging<\/h2>\n\n\n\n<p>If WooCommerce logging is not available for any reason, the plugin falls back to writing log entries to the PHP error log. In this case, you would find log entries in your server&#8217;s PHP error log file instead of the WooCommerce Logs page. The Tools tab will show a notice if WooCommerce logging is not available.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>In addition to the Sync Log, the plugin writes detailed log entries to the WooCommerce logging system. These logs capture internal operations, API communication details, warnings, and errors that help with advanced troubleshooting. Where to Find the Logs In WordPress, go to WooCommerce &gt; Status. Click the Logs tab. Look for log files with the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":365,"menu_order":3,"comment_status":"","ping_status":"","template":"","format":"standard","categories":[],"doc_label":[],"doc_tag":[],"class_list":["post-369","docs","type-docs","status-publish","format-standard","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/sitepact.com\/docs\/wp-json\/wp\/v2\/docs\/369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sitepact.com\/docs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sitepact.com\/docs\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/sitepact.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sitepact.com\/docs\/wp-json\/wp\/v2\/comments?post=369"}],"version-history":[{"count":0,"href":"https:\/\/sitepact.com\/docs\/wp-json\/wp\/v2\/docs\/369\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/sitepact.com\/docs\/wp-json\/wp\/v2\/docs\/365"}],"wp:attachment":[{"href":"https:\/\/sitepact.com\/docs\/wp-json\/wp\/v2\/media?parent=369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sitepact.com\/docs\/wp-json\/wp\/v2\/categories?post=369"},{"taxonomy":"doc_label","embeddable":true,"href":"https:\/\/sitepact.com\/docs\/wp-json\/wp\/v2\/doc_label?post=369"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sitepact.com\/docs\/wp-json\/wp\/v2\/doc_tag?post=369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}