wok-next view logrotate/stuff/logrotate.conf @ rev 21636

updated f3 (2.2 -> 7.2)
author Hans-G?nter Theisgen
date Fri Jun 26 11:11:30 2020 +0100 (2020-06-26)
parents
children
line source
1 # Begin of /etc/logrotate.conf
3 # Rotate log files weekly
4 weekly
6 # Don't mail logs to anybody
7 nomail
9 # If the log file is empty, it will not be rotated
10 notifempty
12 # Number of backups that will be kept
13 # This will keep the 2 newest backups only
14 rotate 2
16 # Create new empty files after rotating old ones
17 # This will create empty log files, with owner
18 # set to root, group set to sys, and permissions 644
19 create 0664 root sys
21 # Compress the backups with gzip
22 compress
24 # No packages own lastlog or wtmp -- rotate them here
25 /var/log/wtmp {
26 monthly
27 create 0664 root utmp
28 rotate 1
29 }
31 /var/log/lastlog {
32 monthly
33 rotate 1
34 }
36 # Some packages drop log rotation info in this directory
37 # so we include any file in it.
38 include /etc/logrotate.d
40 # End of /etc/logrotate.conf