blob: 2920c1770dd46f4ae02a681e2695813a7f04c57c [file] [log] [blame]
Filip Pytlound5d7cc42016-05-16 10:56:18 +02001logrotate:
2 server:
3 enabled: true
4 job:
5 rsyslog:
6 - files:
7 - /var/log/mail.info
8 - /var/log/mail.warn
9 - /var/log/mail.err
10 - /var/log/mail.log
11 - /var/log/daemon.log
12 - /var/log/kern.log
13 - /var/log/auth.log
14 - /var/log/user.log
15 - /var/log/lpr.log
16 - /var/log/cron.log
17 - /var/log/debug
18 - /var/log/messages
19 options:
20 - rotate: 4
21 - weekly
22 - missingok
23 - notifempty
24 - compress
25 - delaycompress
26 - sharedscripts
27 - postrotate: "reload rsyslog >/dev/null 2>&1 || true"
28 - files:
29 - /var/log/syslog
30 options:
31 - rotate: 7
32 - daily
33 - missingok
34 - notifempty
35 - delaycompress
36 - compress
37 - postrotate: "reload rsyslog >/dev/null 2>&1 || true"