Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
logrotate: Never delete system log messages /var/log/messages
Currently, they are deleted after twelve months, which is undesired, as
older logs are sometimes needed for comparison and debugging.

> If count is -1, old logs are not removed at all (use with caution, may
> waste performance and disk space).

We have enough space, so keep the logs.
  • Loading branch information
pmenzel committed Jan 13, 2021
1 parent dad1460 commit d7004f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logrotate/logrotate.conf
Expand Up @@ -2,7 +2,7 @@
dateext
dateformat .%Y-%m
dateyesterday
rotate 12
rotate -1
monthly
sharedscripts
postrotate
Expand Down

0 comments on commit d7004f4

Please sign in to comment.