X-Git-Url: https://git.tld-linux.org/?p=packages%2Flogrotate.git;a=blobdiff_plain;f=logrotate.conf;fp=logrotate.conf;h=b61bf4be15e4b073cb4a123da03aefa47a75b0f6;hp=cbe75083fcb05fc40a9905a7ec490a724e4d78fd;hb=93d76b8c4c8572cd31d8784d3c693e21cd950e27;hpb=0256fb535d74a62baeadd1d4869c653663af6d67 diff --git a/logrotate.conf b/logrotate.conf index cbe7508..b61bf4b 100644 --- a/logrotate.conf +++ b/logrotate.conf @@ -2,8 +2,8 @@ # Rotate log files weekly. weekly -# Keep 10 weeks worth of backlogs. -rotate 10 +# Keep 52 weeks (one year) worth of backlogs. +rotate 52 # Rotate logs when they grow bigger than 100kB minsize 100k @@ -14,13 +14,13 @@ nomail # Create new (empty) log files after rotating old ones. create 640 root logs -# use date as a suffix of the rotated file +# Use date as a suffix of the rotated file. dateext # Uncomment this if you want your log files compressed. compress -# Postpone compression of the previous log file to the next rotation cycle. +# Do not postpone compression of the previous log. nodelaycompress # If the log file is missing, go on to the next one without issuing