Saltstack Official Logrotate Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

36 líneas
665B

  1. # see "man logrotate" for details
  2. # rotate log files weekly
  3. weekly
  4. # keep 4 weeks worth of backlogs
  5. rotate 4
  6. # create new (empty) log files after rotating old ones
  7. create
  8. # use date as a suffix of the rotated file
  9. dateext
  10. # uncomment this if you want your log files compressed
  11. #compress
  12. # RPM packages drop log rotation information into this directory
  13. include /etc/logrotate.d
  14. # no packages own wtmp and btmp -- we'll rotate them here
  15. /var/log/wtmp {
  16. monthly
  17. create 0664 root utmp
  18. minsize 1M
  19. rotate 1
  20. }
  21. /var/log/btmp {
  22. missingok
  23. monthly
  24. create 0600 root utmp
  25. rotate 1
  26. }
  27. # system-specific logs may be also be configured here.