# Begin of /etc/logrotate.conf
# conf by linuxfromscratch
# http://www.linuxfromscratch.org/hints/downloads/files/logrorate.txt

# Rotate log files weekly
weekly
        
# Don't send mail to anybody
nomail

# If the log file is empty, it will not be rotated
notifempty

# Number of backups that will be kept
# This will keep the 2 newest backups only
rotate 2
        
# Create new empty files after rotate old ones
# This will create empty log files, with owner
# set to root, group set to sys, and permissions 644
create 0664 root sys

# Compress the backups with gzip
compress

# RPM packages drop log rotation info in this directory
# so we include any file in it.
include /etc/logrotate.d

# End of /etc/logrotate.conf