• Resolved hamid009

    (@hamid009)


    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.tmp
    how 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

    (@isaumya)

    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

    (@hamid009)

    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.tmp

    which appear in default wordpress debug.log file.

    Plugin Contributor iSaumya

    (@isaumya)

    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

    (@hamid009)

    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

    (@isaumya)

    Hi,
    I have no idea why this is coming. Maybe check with your host?

    Thread Starter hamid009

    (@hamid009)

    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

      $filename = $this->add_url_to_cache( $current_url );
    error_log($filename);




    Plugin Contributor iSaumya

    (@isaumya)

    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)
  • You must be logged in to reply to this topic.