(view this code in a separate window)
/var/log/messages { rotate 5 size=100k postrotate /sbin/killall -HUP syslogd endscript }