# See "man logrotate" for details. # Rotate log files weekly. weekly # Keep 52 weeks (one year) worth of backlogs. rotate 52 # Rotate logs when they grow bigger than 100kB minsize 100k # Don't mail old log files to any address. nomail # Create new (empty) log files after rotating old ones. create 640 root logs # Use date as a suffix of the rotated file. dateext # Uncomment this if you want your log files compressed. compress # Do not postpone compression of the previous log. nodelaycompress # If the log file is missing, go on to the next one without issuing # an error message. missingok # Logs are moved into directory for rotation. 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 /etc/logrotate.d