# sample logrotate configuration file errors sysadmin@my.org compress /var/log/messages { rotate 5 weekly postrotate /sbin/killall -HUP syslogd endscript } "var/log/httpd/access.log" /var/log/httpd/error.log { rotate 5 mail www@my.org errors www@my.org size=100k sharedscripts postrotate /sbin/killall -HUP httpd endscript } /var/log/news/* { monthly rotate 2 missingok errors newsadmin@my.org post..