Linux‎ > ‎

Logrotate

Logrotate for linux (logrotate.conf)

/var/adm/messages /var/adm/proftplog /var/adm/sudo.log /var/adm/sulog /var/log/log.smbd /var/log/xferlog { daily rotate 356 create compress missingok } /var/log/syslog { weekly rotate 54 create compress # Similar to /usr/lib/newsyslog postrotate kill -HUP `cat /etc/syslog.pid` endscript } /var/adm/wtmpx { monthly rotate 12 create 0664 adm adm compress }
Comments