]> TLD Linux GIT Repositories - packages/logrotate.git/blobdiff - logrotate.conf
- updated to 3.21.0
[packages/logrotate.git] / logrotate.conf
index cbe75083fcb05fc40a9905a7ec490a724e4d78fd..9f776b640401923812b5e279eb1b4b7b2a006176 100644 (file)
@@ -1,9 +1,10 @@
 # See "man logrotate" for details.
+
 # 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 +15,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 rotated log files.
 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
@@ -33,7 +34,5 @@ olddir /var/log/archive
 # Do not rotate the log if it is empty.
 notifempty
 
-# system-specific logs may be configured here
-
-# RPM packages drop log rotation information into this directory.
+# Include additional configuration files.
 include /etc/logrotate.d