-
Notifications
You must be signed in to change notification settings - Fork 46
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
Logs do not rotate when they hit the max Mb limit #451
Comments
@mmascher Changes in a0a3413 are incorrect. |
@mambelli My thinking was that "size related rotation" has to be performed no matter what. But now that I think a bit more, I see why it is "wait at least min_days before performing size rotation". This means this is not working:
I suppose what we need for I actually wonder if "time based rotation" ever worked. Looking at the code before the
|
Alternatively we could just use access time instead of modification time:
Apparently we can't cet the birthtime in linux, which I find very strange: https://stackoverflow.com/questions/14842195/how-to-get-file-creation-date-time-in-bash-debian |
Describe the bug
Since a long time CMS has been experiencing issues with log rotation and disk filling up. Basically logs in
log/group_*
keeps growing until frontends just fills up the disk.To Reproduce
Reduce the
max_mbytes="10.0"
param to a small number and verify logs are not rotated.Info (please complete the following information):
The text was updated successfully, but these errors were encountered: