You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When we enable WP_ROCKET_DEBUG, the wp-rocket-debug.log.html file can grow quickly, specially if preload is enabled and there are multiple optimizations running.
If for any reason the WP_ROCKET_DEBUG constant is not removed, it could grow without a limit causing multiple issues.
Describe the solution you'd like
We could delete the file if it grows over a reasonable size, I think 20 or 30 MB should be more than enough to troubleshoot any kind of case.
Describe alternatives you've considered
autodisable WP_ROCKET_DEBUG if the file size is too big.
autodisable WP_ROCKET_DEBUG after some time (1 or 2 hours)
Is your feature request related to a problem? Please describe.
When we enable
WP_ROCKET_DEBUG
, the wp-rocket-debug.log.html file can grow quickly, specially if preload is enabled and there are multiple optimizations running.If for any reason the
WP_ROCKET_DEBUG
constant is not removed, it could grow without a limit causing multiple issues.Describe the solution you'd like
We could delete the file if it grows over a reasonable size, I think 20 or 30 MB should be more than enough to troubleshoot any kind of case.
Describe alternatives you've considered
Additional context
Some fatal errors on our settings pages, related to having a big debug file, and updating to 3.16
https://wp-media.slack.com/archives/C016DRMRG6S/p1714658146094349
https://wp-media.slack.com/archives/C016DRMRG6S/p1715011582013089?thread_ts=1715011442.043269&cid=C016DRMRG6S
Site with a 2gb debug log
https://secure.helpscout.net/conversation/2328208200/436491?folderId=7469349#thread-7018129717
7GB + 3Gb debug logs saw on a case
https://wp-media.slack.com/archives/C0124SY2J21/p1649155548753399
The text was updated successfully, but these errors were encountered: