rsyslog.logrotate 682 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Uncomment the following directive if you have re-enabled
  2. # "/var/log/syslog" in "/etc/rsyslog.d/50-default.conf"
  3. #/var/log/syslog
  4. #{
  5. # rotate 7
  6. # daily
  7. # missingok
  8. # notifempty
  9. # delaycompress
  10. # compress
  11. # postrotate
  12. # test -r /run/rsyslogd.pid && kill -HUP $(cat /run/rsyslogd.pid) &>/dev/null
  13. # endscript
  14. #}
  15. /var/log/auth.log
  16. /var/log/cron.log
  17. /var/log/daemon.log
  18. /var/log/kern.log
  19. /var/log/lpr.log
  20. /var/log/mail.log
  21. /var/log/news.log
  22. /var/log/user.log
  23. /var/log/debug.log
  24. /var/log/messages
  25. {
  26. rotate 4
  27. weekly
  28. missingok
  29. notifempty
  30. compress
  31. delaycompress
  32. sharedscripts
  33. postrotate
  34. test -r /run/rsyslogd.pid && kill -HUP $(cat /run/rsyslogd.pid) &>/dev/null
  35. endscript
  36. }