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