Last change
on this file since 892871d was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100755
|
File size:
1.0 KB
|
Line | |
---|
1 | # /etc/logrotate.conf |
---|
2 | # |
---|
3 | # logrotate is designed to ease administration of systems that generate large |
---|
4 | # numbers of log files. It allows automatic rotation, compression, removal, and |
---|
5 | # mailing of log files. Each log file may be handled daily, weekly, monthly, or |
---|
6 | # when it grows too large. |
---|
7 | # |
---|
8 | # logrotate is normally run daily from root's crontab. |
---|
9 | # |
---|
10 | # For more details, see "man logrotate". |
---|
11 | |
---|
12 | # rotate log files weekly: |
---|
13 | weekly |
---|
14 | |
---|
15 | # keep 4 weeks worth of backlogs: |
---|
16 | rotate 4 |
---|
17 | |
---|
18 | # create new (empty) log files after rotating old ones: |
---|
19 | create |
---|
20 | |
---|
21 | # uncomment this if you want your log files compressed: |
---|
22 | compress |
---|
23 | |
---|
24 | # some packages install log rotation information in this directory: |
---|
25 | include /etc/logrotate.d |
---|
26 | |
---|
27 | # Rotate /var/log/wtmp: |
---|
28 | /var/log/wtmp { |
---|
29 | monthly |
---|
30 | create 0664 root utmp |
---|
31 | rotate 1 |
---|
32 | } |
---|
33 | |
---|
34 | # Note that /var/log/lastlog is not rotated. This is intentional, and it should |
---|
35 | # not be. The lastlog file is a database, and is also a sparse file that takes |
---|
36 | # up much less space on the drive than it appears. |
---|
37 | |
---|
38 | # system-specific logs may be also be configured below: |
---|
39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.