void-packages/srcpkgs/logrotate/files/logrotate.conf

37 lines
575 B
Plaintext
Raw Normal View History

# See logrotate(8) for details.
#
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# restrict maximum size of log files
size 512k
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
compress
# Do not rotate logs if they are empty
notifempty
# Do not send emails
nomail
# Do not panic if log missing
missingok
# Logs are moved into directory for rotation
# olddir /var/log/archive
include /etc/logrotate.d
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}