Files
mesh-catalog/modules/logrotate/files/logrotate.conf
T

33 lines
787 B
Plaintext

# The mesh's (module logrotate, novox/hq to-be 42): the base configuration every rotation inherits.
# Written whole at every push; an edit here is overwritten. Each package's own rules are in
# /etc/logrotate.d and stay the packages'.
# Weekly, four weeks kept, a new empty log created after each rotation.
weekly
rotate 4
create
# Rotated logs are compressed, one rotation late, so a program still writing to the file it had open
# loses nothing to the compression.
compress
delaycompress
# A package's replaced configuration is never read as a rule.
tabooext + .pacorig .pacnew .pacsave
include /etc/logrotate.d
/var/log/wtmp {
monthly
create 0664 root utmp
minsize 1M
rotate 1
}
/var/log/btmp {
missingok
monthly
create 0600 root utmp
rotate 1
}