# $Id$
# $URL$
#
# Syslog-ng logrotate snippet for Gentoo Linux
# contributed by Michael Sterrett
#
# Modificado por Ingo Schmidt em 03/2006
# Modificado por Andre Marra em 03/2011

# keep 5 years worth of no compressed backlogs
/data/log/.mtd/mtd.log /data/log/eqpt.log /data/log/.syn/syn {
    nodateext
    nocompress
    rotate 4
    size 3M
    sharedscripts
    postrotate
        /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true
    endscript
}  
  
/var/log/messages {
    rotate 4
    size 10M
    sharedscripts
    postrotate
        /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true
    endscript
}

# eof $Id$
