1
0

logrotate.conf 557 B

123456789101112131415161718192021222324252627282930
  1. # rotate log files weekly
  2. weekly
  3. #daily
  4. # keep 4 weeks worth of backlogs
  5. rotate 4
  6. # create new (empty) log files after rotating old ones
  7. create
  8. notifempty
  9. nomail
  10. #olddir /var/log/backup/
  11. missingok
  12. #dateext
  13. # uncomment this if you want your log files compressed
  14. #compress
  15. # packages can drop log rotation information into this directory
  16. include /etc/logrotate.d
  17. # no packages own lastlog or wtmp -- we'll rotate them here
  18. #/var/log/wtmp {
  19. # monthly
  20. # create 0664 root utmp
  21. # rotate 1
  22. #}
  23. # system-specific logs may be also be configured here.