Title: Debug log turned on
Last modified: February 11, 2020

---

# Debug log turned on

 *  Resolved [guzart](https://wordpress.org/support/users/guzart/)
 * (@guzart)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/debug-log-turned-on/)
 * It appears that the latest version of EWWW keeps writing a to `wp-content/ewww/
   debug.log`. This wasn’t happening before, so I wonder if it was an ommission 
   on the latest release. I did jump from v5.1.4 to 5.2.1.
 *     ```
       2020-02-11 19:21:10
       <b>ewww_image_optimizer_settings_script()</b>
       <b>ewww_image_optimizer_bulk_script()</b>
       <b>ewww_image_optimizer_tool_script()</b>
       <b>ewww_image_optimizer_webp_script()</b>
       2020-02-11 19:21:47
       <b>ewww_image_optimizer_settings_script()</b>
       <b>ewww_image_optimizer_bulk_script()</b>
       <b>ewww_image_optimizer_tool_script()</b>
       <b>ewww_image_optimizer_webp_script()</b>
       2020-02-11 19:22:11
       <b>ewww_image_optimizer_settings_script()</b>
       <b>ewww_image_optimizer_bulk_script()</b>
       <b>ewww_image_optimizer_tool_script()</b>
       <b>ewww_image_optimizer_webp_script()</b>
       ```
   
 * Thank you!

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

 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/debug-log-turned-on/#post-12423387)
 * The log has always been used if the debugging option is enabled. You can disable
   it on the Support tab.
 * Do note that there was a point where the log wasn’t being created properly, and
   we did change the location, but those changes were back in version 4.8.1.
 *  Thread Starter [guzart](https://wordpress.org/support/users/guzart/)
 * (@guzart)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/debug-log-turned-on/#post-12423394)
 * Thank you for the quick reply.
 * Something must have changed tho. I have the WordPress site in git and the file
   didn’t exist before and I did not make changes to the settings.
 * I do have an EWWW debug.log in my .gitignore, and the location was
    `/wp-content/
   plugins/ewww-image-optimizer/debug.log` and the new location is at `/wp-content/
   ewww/debug.log`.
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/debug-log-turned-on/#post-12423411)
 * Hmm, it’s possible there was another bug that prevented the creation of the log,
   can you test this:
    With debugging option disabled, remove the debug.log file,
   and see if it gets recreated when you visit the EWWW IO settings page, the bulk
   optimizer, or any other random page (admin or front-end) on your site. It shouldn’t
   be recreated with debugging disabled, but just want to double-check there isn’t
   some bug there.
 *  Thread Starter [guzart](https://wordpress.org/support/users/guzart/)
 * (@guzart)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/debug-log-turned-on/#post-12423446)
 * No bug there. When the debug setting is disabled it does _not_ create a `debug.
   log` file.
 * I don’t think I have an issue. It’s only that I found the new location of the`
   debug.log` file odd, so I assumed it could’ve been a mistake in the release, 
   not a design choice. AFAIK it’s unusual for plugins to store files directly under
   the `wp-content/` folder, but not unheard of.
 * Anyway, thank you for your help!

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

The topic ‘Debug log turned on’ is closed to new replies.

 * ![](https://ps.w.org/ewww-image-optimizer/assets/icon-256x256.png?rev=1582276)
 * [EWWW Image Optimizer](https://wordpress.org/plugins/ewww-image-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ewww-image-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ewww-image-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ewww-image-optimizer/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [guzart](https://wordpress.org/support/users/guzart/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/debug-log-turned-on/#post-12423446)
 * Status: resolved