home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20120305.etc.tar.gz / bradford.20120305.etc.tar / etc / logrotate.d / syslog < prev    next >
Text File  |  2006-04-22  |  1KB  |  53 lines

  1. #
  2. # Please note, that changing of log file permissions in this
  3. # file is not sufficient if syslog-ng is used as log daemon.
  4. # It is required to specify the permissions in the syslog-ng
  5. # configuration /etc/syslog-ng/syslog-ng.conf.in as well.
  6. #
  7.  
  8. /var/log/warn /var/log/messages /var/log/allmessages /var/log/localmessages /var/log/firewall {
  9.     compress
  10.     dateext
  11.     maxage 365
  12.     rotate 99
  13.     missingok
  14.     notifempty
  15.     size +4096k
  16.     create 640 root root
  17.     sharedscripts
  18.     postrotate
  19.         /etc/init.d/syslog reload
  20.     endscript
  21. }
  22.  
  23. /var/log/mail /var/log/mail.info /var/log/mail.warn /var/log/mail.err {
  24.     compress
  25.     dateext
  26.     maxage 365
  27.     rotate 99
  28.     missingok
  29.     notifempty
  30.     size +4096k
  31.     create 640 root root
  32.     sharedscripts
  33.     postrotate
  34.         /etc/init.d/syslog reload
  35.     endscript
  36. }
  37.  
  38. /var/log/news/news.crit /var/log/news/news.err /var/log/news/news.notice {
  39.     compress
  40.     dateext
  41.     maxage 365
  42.     rotate 99
  43.     missingok
  44.     notifempty
  45.     size +4096k
  46.     create 640 news news
  47.     sharedscripts
  48.     postrotate
  49.         /etc/init.d/syslog reload
  50.     endscript
  51. }
  52.  
  53.