CDN Debug Error Logging Troubles
-
I have used W3TC for years, and I never noticed this before, but only when a CDN is enabled, the PHP error logging must be set to “DEBUG” (Info or Notice). In less than 1 week, the log file reaches 20GBs!
Just to be clear, this only happens when the CDN is enabled.
I even setup the main php.ini with error_reporting(0), just to try and slow it down, but no luck.
I did not find a definition I could use to set the PHP log level, so I don’t have any other solution except to disable the CDN, which I don’t want to do.
Please create a definition for error logging throughout your plugin and set it with a default: “warn”
define( ‘W3TC_ERROR_REPORTING’, [crit, error, warn, info, debug] );Please let me know if you have a temporary fix I can implement so I can get my CDN back online.
Thank you!
- The topic ‘CDN Debug Error Logging Troubles’ is closed to new replies.