-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make the error.log file role over to a new file at a certain size, and only keep N #24
Comments
This is usually left to some system tool (mostly logrotate). It might be better to write it to the standard SAPI error file instead of a custom one since that is usually handled by the os. |
Can you recommend how to implement? |
I recently had to do this as my log suddenly became several dozen GBs due to some tomfoolery. |
This should be something discussed in the setup documentation so the admin can make a decision appropriate to their needs, rather than us imposing a limit on them. |
There's a good guide here |
make this log file essentially work like standard errorfiles where you end up with errors.log errors.1.log etc, and none of them get too big
The text was updated successfully, but these errors were encountered: