Annotation of /trunk/logrotate/logrotate.conf
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 5 months ago) by niro
File size: 550 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 5 months ago) by niro
File size: 550 byte(s)
-import
1 | niro | 153 | # Default logrotate configuration file |
2 | # | ||
3 | # See "man logrotate" for details. | ||
4 | # | ||
5 | |||
6 | # rotate log files weekly | ||
7 | weekly | ||
8 | |||
9 | # keep 4 weeks worth of backlogs | ||
10 | rotate 4 | ||
11 | |||
12 | # create new (empty) log files after rotating old ones | ||
13 | create | ||
14 | |||
15 | # uncomment this if you want your log files compressed | ||
16 | compress | ||
17 | |||
18 | # some packages drop log rotation information into this directory | ||
19 | include /etc/logrotate.d | ||
20 | |||
21 | # no packages own wtmp -- we'll rotate them here | ||
22 | /var/log/wtmp { | ||
23 | monthly | ||
24 | create 0664 root utmp | ||
25 | rotate 1 | ||
26 | } | ||
27 | |||
28 | # system-specific logs may be also be configured here. |