Add a default configuration file (#1404)
[openwrt/svn-archive/archive.git] / utils / logrotate / files / logrotate.conf
1 # rotate log files weekly
2 weekly
3 #daily
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 notifempty
12 nomail
13 #olddir /var/log/backup/
14 missingok
15 #dateext
16
17 # uncomment this if you want your log files compressed
18 #compress
19
20 # packages can drop log rotation information into this directory
21 include /etc/logrotate.d
22
23 # no packages own lastlog or wtmp -- we'll rotate them here
24 #/var/log/wtmp {
25 # monthly
26 # create 0664 root utmp
27 # rotate 1
28 #}
29
30 # system-specific logs may be also be configured here.