summaryrefslogtreecommitdiff
path: root/logrotate/logrotate.conf
blob: 6a2576936bf79b46ad54b2e036d77d1743a130fe (plain)
    1 # see "man logrotate" for details
    2 # rotate log files weekly
    3 weekly
    4 
    5 # keep 4 weeks worth of backlogs
    6 rotate 4
    7 
    8 # create new (empty) log files after rotating old ones
    9 create
   10 
   11 # uncomment this if you want your log files compressed
   12 #compress
   13 
   14 # some packages can drop log rotation information into 
   15 # this directory
   16 include /etc/logrotate.d
   17 
   18 # few generic files to rotate
   19 /var/log/wtmp {
   20     monthly
   21     create 0644 root root
   22     rotate 1
   23 }
   24 
   25 /var/log/btmp {
   26     monthly
   27     create 0600 root root
   28     rotate 1
   29 }
   30 
   31 # system-specific logs may be also be configured here.

Generated by cgit