You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 regels
685 B

  1. # These settings will save the rotated logfiles to a seperate location.
  2. # This file needs to be located in /etc/logrotate.d.
  3. # The "00" prefix in the file name is required to ensure this file is
  4. # loaded before any program specific logrotate settings are loaded as
  5. # contents of /etc/logrotate.d are read in alphabetical order.
  6. # The path & name for rotated logfiles folder.
  7. olddir /var/log.old
  8. # Create the path if it doesn't exist
  9. createolddir 755 root root
  10. # To allow the files to be "moved" (ie copied and original deleted)
  11. # to another device/partition (eg out of RAM)
  12. renamecopy
  13. /var/log/log2ram.log
  14. {
  15. rotate 7
  16. daily
  17. missingok
  18. notifempty
  19. delaycompress
  20. compress
  21. }