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

Up libical (3.0.1), libidn2 (2.0.4), libunistring (0.9.8), logrotate (3.11.0), mc (4.8.20), mercurial (4.5), nasm (2.13.03), newt (0.52.20), node (9.5.0), opencv (3.4.1), slitaz-tools-boxes (1028), slitaz-tools (1028), spacefm (1.0.6), tiff (4.0.9); add npapi-sdk, obex-data-server.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed May 09 16:46:19 2018 +0300 (2018-05-09)
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