# Monthly configuration file for rot[t]log # Allowed values only between two { } # # # # This is a sample configuration file. Fit to your needs. # # 2002-10-15 # Adapted from rottlog's sample file by M.L. # /var/log/syslog,/var/log/daemon.log { # These actions will be performed after archived each logfile postrotate /bin/kill -HUP `cat /etc/rottlog/syslogd` endscript # Don't compress yet logfile (see README) # delaycompress rotate 5 } /var/log/messages { # These actions will be performed before archive logfile # Rotate logs with extensions from .1 to .5 rotate 5 # Don't rotate log if it's empty notifempty postrotate /bin/kill -HUP `cat /etc/rottlog/syslogd` endscript } /var/log/wtmp,/var/log/lastlog,/var/log/user.log,/var/log/debug { rotate 5 } /var/log/XFree86.0.log { rotate 5 } /var/log/auth.log { rotate 5 } /var/log/kdm.log { rotate 5 } /var/log/iptraf/rvnamed.log { rotate 5 } /var/log/samba/log.* { rotate 5 } .