-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Log rotation via Logs.MaxBackups broken #1375
Comments
What is the server version and |
@rht its been this way pretty much since we set it up. I don't think it ever worked. |
The commit is 988b158 on all of them.
|
I c. At least 'works' here in my node (ipfs 0.3.4, latest master as of 7d434da)
|
I did remove the logs on Jun 9 (I forgot the reason), so this is likely due to my node doesn't have enough traffic to fill the logs. Will test with smaller MaxSizeMB then. |
I switched MaxSizeMB to 1. It does work on my node (MaxAgeDays / MaxBackups). Here are 3 different snapshots of
|
So is this with MaxAgeDays=0 and MaxBackups=1? |
Right, unchanged config, or rather, the default except for MaxSizeMB. |
Linking the issue nodes #1018 |
|
Yeah here's the PR that removes the Logs config section: #642 |
And after the next rotation the old logs got removes so that now there's only one old backup being kept. |
I guess #1018 will have to wait. |
Old logs are not being removed, e.g. on one of the gateway servers (saturn).
The text was updated successfully, but these errors were encountered: