1

I am trying to debug a "clean template cache" task that gets stuck. However, it only happens intermittently, and whenever I notice any errors has already been rotated out of the log files.

Is there a way to set the maxLogFiles of the FileLogRoute? either through the config files, or through php code in a plugin?

(Setting $rotateByCopy to true would also be nice!)

1

Currently not without hacking the core files.

It's on our list to make log routing more configurable for Craft 3, though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.