From Crimson Gorilla, 11 Years ago, written in Plain Text.
Embed
  1. # defaults
  2. daily
  3. rotate 7
  4. create
  5. compress
  6. su root root
  7.  
  8. # packages drop log rotation information into this directory
  9. #include /etc/logrotate.d
  10.  
  11. # no packages own wtmp, or btmp -- we'll rotate them here
  12. /var/log/wtmp {
  13.     missingok
  14.     monthly
  15.     create 0664 root utmp
  16.     rotate 1
  17. }
  18.  
  19. /var/log/btmp {
  20.     missingok
  21.     monthly
  22.     create 0660 root utmp
  23.     rotate 1
  24. }
  25.  
  26. # system-specific logs may be configured here