logrotate.conf 725 B

12345678910111213141516171819202122232425262728293031
  1. # Begin of /etc/logrotate.conf
  2. # conf by linuxfromscratch
  3. # http://www.linuxfromscratch.org/hints/downloads/files/logrorate.txt
  4. # Rotate log files weekly
  5. weekly
  6. # Don't send mail to anybody
  7. nomail
  8. # If the log file is empty, it will not be rotated
  9. notifempty
  10. # Number of backups that will be kept
  11. # This will keep the 2 newest backups only
  12. rotate 2
  13. # Create new empty files after rotate old ones
  14. # This will create empty log files, with owner
  15. # set to root, group set to sys, and permissions 644
  16. create 0664 root sys
  17. # Compress the backups with gzip
  18. compress
  19. # RPM packages drop log rotation info in this directory
  20. # so we include any file in it.
  21. include /etc/logrotate.d
  22. # End of /etc/logrotate.conf