]> git.pld-linux.org Git - packages/logrotate.git/blob - logrotate.conf
- use date suffix in rotated files
[packages/logrotate.git] / logrotate.conf
1 # See "man logrotate" for details.
2 # Rotate log files weekly.
3 daily
4
5 # Keep 4 weeks worth of backlogs.
6 rotate 28
7
8 # Don't mail old log files to any address.
9 nomail
10
11 # Create new (empty) log files after rotating old ones.
12 create 640 root logs
13
14 # use date as a suffix of the rotated file
15 dateext
16
17 # Uncomment this if you want your log files compressed.
18 compress
19
20 # Postpone compression of the previous log file to the next rotation cycle.
21 nodelaycompress
22
23 # If the log file is missing, go on to the next one without issuing
24 # an error message.
25 missingok
26
27 # Logs are moved into directory for rotation.
28 olddir /var/log/archive
29
30 # Do not rotate the log if it is empty.
31 notifempty
32
33 # system-specific logs may be configured here
34
35 # RPM packages drop log rotation information into this directory.
36 include /etc/logrotate.d
This page took 0.029519 seconds and 3 git commands to generate.