|
From: Joe C. <jo...@sw...> - 2005-10-10 19:09:07
|
Grant Peel wrote: > Here is a sample of newsyslog.conf ... it is read by the newsyslog > utility which is triggered each 1 minute via cron. fields 5 and 6 are > the rules, and determine if the log is rotated. 'syslog' is the c > utility that actually writes the logfile, rules for that are in > /etc/syslog.conf. > > # logfilename [owner:group] mode count size when flags > [/pid_file] [sig_num] > /var/log/cron 600 14 * $D00 Z > /var/log/amd.log 644 7 100 * Z > /var/log/auth.log 600 14 * $D00 Z > /var/log/kerberos.log 600 7 100 * Z > /var/log/lpd-errs 644 7 100 * Z > /var/log/maillog 640 14 * $D00 Z > /var/log/sendmail.st 640 10 * 168 B > /var/log/messages 644 14 * $D00 Z > /var/log/all.log 600 14 * $D00 Z > /var/log/slip.log root:network 640 3 100 * Z > > I don't know what logrotate looks like, never used it! It definitely doesn't look like that! ;-) |