aboutsummaryrefslogtreecommitdiffstats
path: root/main/syslog-ng/syslog-ng.logrotate
blob: c3fd093418071715332173747a8188bef13606ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/var/log/auth.log {
  rotate 14
  daily
  missingok
  notifempty
  compress
  postrotate
    /etc/init.d/syslog-ng reload >/dev/null
  endscript
}

/var/log/mail.log /var/log/mail.info /var/log/mail.warn /var/log/mail.err {
  rotate 8
  weekly
  missingok
  notifempty
  compress
}

/var/log/kern.log {
  rotate 2
  monthly
  missingok
  notifempty
  compress
  postrotate
    /etc/init.d/syslog-ng reload >/dev/null
  endscript
}

/var/log/messages /var/log/error.log {
  rotate 14
  weekly
  missingok
  notifempty
  compress
  postrotate
    /etc/init.d/syslog-ng reload >/dev/null
  endscript
}