/var/log/syslog
{
    rotate 7
	daily
	maxsize 500k
    missingok
    notifempty
    delaycompress
    compress
	firstaction
		if [ `stat -c %s /var/log/syslog` -gt 1073741824 ]; then
			truncate -s 1073741824 /var/log/syslog
		fi
	endscript
    postrotate
        invoke-rc.d rsyslog rotate > /dev/null
    endscript
}

/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/mail.log
/var/log/kern.log
/var/log/auto.log
/var/log/user.log
/var/log/lpr.log
/var/log/cron.log
/var/log/debug
/var/log/messages
{
    rotate 4
    weekly
    missingok
    notifempty
    compress
    delaycompress
    sharedscripts
    postrotate
        invoke-rc.d rsyslog rotate > /dev/null
    endscript
}

/var/log/daemon.log
{
    rotate 4
    weekly
    maxsize 500k
    missingok
    notifempty
    compress
    delaycompress
	firstaction
		if [ `stat -c %s /var/log/daemon.log` -gt 1073741824 ]; then
			truncate -s 1073741824 /var/log/daemon.log
		fi
	endscript
    postrotate
        invoke-rc.d rsyslog rotate > /dev/null
    endscript
}
