• Resolved Anis Rahman

    (@aniskanon)


    Dear

    My website produce thousands of log files like: place-order-debug-fd48f380 “

    2025-09-10T06:52:05+00:00Debug [Shortcode #1] Place Order flow initiated Additional context2025-09-10T06:52:05+00:00Debug [Shortcode #2] Session updated with checkout data and totals calculated Additional context”

    How can I stop it?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @aniskanon,

    I understand how frustrating it can be to have your website generating thousands of debug log files. There are a few ways to manage this depending on how you intend to treat errors.

    You can either turn off debug logging entirely or adjust it to reduce the number of logs. To turn it off, edit your wp-config.php file and set:

    define('WP_DEBUG', false);
    define('WP_DEBUG_LOG', false);

    Also, set the code below to false or remove or comment it out:

    define('WP_DEBUG_DISPLAY', true);

    If you’d still like to see errors on your site but want to stop the file logs from piling up, you can instead set:

    define('WP_DEBUG_LOG', false);
    define('WP_DEBUG', true);

    This way, errors will display on your site, but no new debug log files will be created. I hope this helps reduce the clutter and makes managing your site a bit easier.

    If you’ll like to further understand the source of this debug, can you share the content of one to two of such debug using pastebin.com and also share your system status report from woocommerce > status > get system report > copy for support and also share it using pastebin.

    Plugin Support thelmachido a11n

    (@thelmachido)

    It’s been a while since we heard back from you for this reason we are closing this thread. 

    If WooCommerce has been useful for your store and you appreciate the support you’ve received, we’d truly appreciate it if you could leave us a quick reviewhere: 

     https://wordpress.org/support/plugin/woocommerce/reviews/#new-post 

    Feel free to open a new forum topic if you run into any other problem. 

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Unexpected Log File “place-order-debug” produced’ is closed to new replies.