Title: PHP Log, [DEBUG] : Should we use webp?
Last modified: June 4, 2022

---

# PHP Log, [DEBUG] : Should we use webp?

 *  Resolved [backpackingseries](https://wordpress.org/support/users/backpackingseries/)
 * (@backpackingseries)
 * [4 years ago](https://wordpress.org/support/topic/php-log-debug-should-we-use-webp/)
 * Hi Support,
 * Thank you for helping to release version 3.2.5 – sites are stable now. However,
   I am witnessing a new PHP record – `PHP Log, [DEBUG] : Should we use webp?`
 * This is being written to the log continuously. If I disable your plugin, the 
   problem goes away.
 * How can I avoid this please?
 * Kind regards,

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

 *  [webmasterfreya](https://wordpress.org/support/users/webmasterfreya/)
 * (@webmasterfreya)
 * [4 years ago](https://wordpress.org/support/topic/php-log-debug-should-we-use-webp/#post-15708058)
 * Very very bad idea to notify the users of this plugin this way to tell that there
   is a new function. Every request creates an entry in the php error log.
 * I’ve put under settings “Log events to the PHP error log ” off
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years ago](https://wordpress.org/support/topic/php-log-debug-should-we-use-webp/#post-15711047)
 * [@webmasterfreya](https://wordpress.org/support/users/webmasterfreya/) [@backpackingseries](https://wordpress.org/support/users/backpackingseries/)
   I’ll check this issue with our development team and update you soon.
 * Thank you for your time and patience.
 *  [Jim](https://wordpress.org/support/users/jwmc/)
 * (@jwmc)
 * [4 years ago](https://wordpress.org/support/topic/php-log-debug-should-we-use-webp/#post-15712996)
 * My log looks like this: constant stream
 *     ```
       [06-Jun-2022 14:30:02 UTC] [DEBUG] : Setting up .htaccess file
       [06-Jun-2022 14:30:02 UTC] [DEBUG] : Should we use webp? 
       [06-Jun-2022 14:30:02 UTC] [DEBUG] : 
       [06-Jun-2022 14:30:09 UTC] [DEBUG] : Setting up .htaccess file
       [06-Jun-2022 14:30:12 UTC] [DEBUG] : Setting up .htaccess file
       [06-Jun-2022 14:30:12 UTC] [DEBUG] : Should we use webp? 
       [06-Jun-2022 14:30:12 UTC] [DEBUG] : 
       [06-Jun-2022 14:30:13 UTC] [DEBUG] : Setting up .htaccess file
       [06-Jun-2022 14:30:13 UTC] [DEBUG] : Should we use webp? 
       [06-Jun-2022 14:30:13 UTC] [DEBUG] : 
       [06-Jun-2022 14:30:54 UTC] [DEBUG] : Setting up .htaccess file
       [06-Jun-2022 14:30:55 UTC] [DEBUG] : Should we use webp? 
       [06-Jun-2022 14:30:55 UTC] [DEBUG] : 
       ```
   
 *  Plugin Contributor [Venkat Raj](https://wordpress.org/support/users/webulous/)
 * (@webulous)
 * [4 years ago](https://wordpress.org/support/topic/php-log-debug-should-we-use-webp/#post-15714275)
 * Hi [@backpackingseries](https://wordpress.org/support/users/backpackingseries/)
   [@webmasterfreya](https://wordpress.org/support/users/webmasterfreya/) [@jwmc](https://wordpress.org/support/users/jwmc/)
 * Since not every browser supports webp images and nginx servers don’t support `.
   htaccess` redirect, it is necessary to check things with every request.
 * Apart from that these are `[DEBUG]` messages and debug logging shouldn’t be enabled
   in production sites unless site is not working properly and you want to provide
   debugging info to developers.
 * That said, we will remove these entries in the upcoming version
 *  [spiros](https://wordpress.org/support/users/spiros/)
 * (@spiros)
 * [4 years ago](https://wordpress.org/support/topic/php-log-debug-should-we-use-webp/#post-15716702)
 * Same with me, thousands of these entries. Debug is off in
 *  [Jim](https://wordpress.org/support/users/jwmc/)
 * (@jwmc)
 * [4 years ago](https://wordpress.org/support/topic/php-log-debug-should-we-use-webp/#post-15716853)
 * [@webulous](https://wordpress.org/support/users/webulous/), thanks for the response.
   Regular debug monitoring is debatable, but I won’t do that here. I do want to
   make the point that I have all the image processing features of WP Optimize turned
   off. I use it only for cache and minify. If the plugin were efficient, then, 
   I would expect it would not be chasing the image processing issues every few 
   seconds and that part of the code would not be called at all, whether it shows
   up in the debug log or not.
 *  Thread Starter [backpackingseries](https://wordpress.org/support/users/backpackingseries/)
 * (@backpackingseries)
 * [4 years ago](https://wordpress.org/support/topic/php-log-debug-should-we-use-webp/#post-15721417)
 * Thank you [@webulous](https://wordpress.org/support/users/webulous/)
 * I’m not using the plugin’s image processing module at this time. Therefore, I’m
   hoping it should not log such messages.
 * Kind regards,
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/php-log-debug-should-we-use-webp/#post-15725108)
 * [@backpackingseries](https://wordpress.org/support/users/backpackingseries/) 
   This should be fixed in next release

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

The topic ‘PHP Log, [DEBUG] : Should we use webp?’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 8 replies
 * 6 participants
 * Last reply from: [Harshad](https://wordpress.org/support/users/bornforphp/)
 * Last activity: [3 years, 12 months ago](https://wordpress.org/support/topic/php-log-debug-should-we-use-webp/#post-15725108)
 * Status: resolved