]> git.pld-linux.org Git - packages/logrotate.git/blame - logrotate.conf
- updated to 3.8.1
[packages/logrotate.git] / logrotate.conf
CommitLineData
7a634c73
ER
1# See "man logrotate" for details.
2# Rotate log files weekly.
5b8af45b 3weekly
7a38c880 4
3ce0a7f8
AM
5# Keep 10 weeks worth of backlogs.
6rotate 10
7a38c880 7
88983181 8# Rotate logs when they grow bigger than 100kB
13317f3a 9minsize 100k
88983181 10
7a634c73 11# Don't mail old log files to any address.
6501cb8b 12nomail
7a38c880 13
7a634c73 14# Create new (empty) log files after rotating old ones.
418675b2 15create 640 root logs
7a38c880 16
539dc635
PG
17# use date as a suffix of the rotated file
18dateext
19
7a634c73 20# Uncomment this if you want your log files compressed.
7a38c880 21compress
22
7a634c73 23# Postpone compression of the previous log file to the next rotation cycle.
43c642af 24nodelaycompress
7a38c880 25
7a38c880 26# If the log file is missing, go on to the next one without issuing
7a634c73 27# an error message.
3ca53228 28missingok
7a38c880 29
7a634c73 30# Logs are moved into directory for rotation.
b7ba52f9 31olddir /var/log/archive
7a38c880 32
7a634c73 33# Do not rotate the log if it is empty.
7a38c880 34notifempty
35
36# system-specific logs may be configured here
73796786 37
7a634c73 38# RPM packages drop log rotation information into this directory.
73796786 39include /etc/logrotate.d
This page took 0.080726 seconds and 4 git commands to generate.