Title: Plugin creating entry in debug log
Last modified: August 8, 2024

---

# Plugin creating entry in debug log

 *  Resolved [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/plugin-creating-entry-in-debug-log/)
 * Hello, Plugin is creating log entry in debug.log
   [08-Aug-2024 11:19:10 UTC] /…../
   wp-content/wp-cloudflare-super-page-cache/……/cached_html_pages/90dc93fde72441e045134014b9d6b20497c61bfb.
   tmphow can I disable it so it doesn’t create its logs in central wp-content/debug.
   log

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

 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-creating-entry-in-debug-log/#post-17947330)
 * Inside the plugin, under the first tab there is an option to Disable Logs that
   will disable the logs that are created by the plugin.
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-creating-entry-in-debug-log/#post-17947599)
 * But will it disable the logs which I get after clicking Download Logs in Other
   Tabs ? 
   I want to keep enabled those logs thats not the problem, I am asking 
   about the logs like [08-Aug-2024 11:19:10 UTC] /…../wp-content/wp-cloudflare-
   super-page-cache/……/cached_html_pages/90dc93fde72441e045134014b9d6b20497c61bfb.
   tmpwhich appear in default wordpress debug.log file.
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-creating-entry-in-debug-log/#post-17947738)
 * Hi,
 * Default WordPress log is not populated by the plugin. Can you show me the full
   log of what’s coming up in yoru log instead of shortening it using ….
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-creating-entry-in-debug-log/#post-17947771)
 * just hid website 
   [08-Aug-2024 11:19:10 UTC] /websitename/public_html/wp-content/
   wp-cloudflare-super-page-cache/website.com/cached_html_pages/90dc93fde72441e045134014b9d6b20497c61bfb.
   tmp
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-creating-entry-in-debug-log/#post-17947948)
 * Hi,
   I have no idea why this is coming. Maybe check with your host?
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-creating-entry-in-debug-log/#post-17948994)
 * I found the code which was outputting these in default debug.log
   add_current_url_to_cache()
   in libs/html_cache.class.php on line 178
 *     ```wp-block-code
         $filename = $this->add_url_to_cache( $current_url );error_log($filename);
       ```
   
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-creating-entry-in-debug-log/#post-17952308)
 * Huh! I don’t remember adding this, maybe the new development team added them.
   Please comment out `error_log($filename);` by adding `//` at the beginning of
   it. So, it would become `// error_log($filename);`
 * Thanks for finding this out and this should solve your issue.

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

The topic ‘Plugin creating entry in debug log’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-creating-entry-in-debug-log/#post-17952308)
 * Status: resolved