Note that exim contains tracker-specific configuration
[mirror/dsa-puppet.git] / modules / syslog_ng / files / syslog-ng.logrotate
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5
6 /var/log/auth.log {
7    rotate 4
8    missingok
9    notifempty
10    weekly
11    compress
12 }
13
14 /var/log/cron.log {
15    rotate 4
16    weekly
17    missingok
18    notifempty
19    compress
20 }
21
22 /var/log/daemon.log {
23    rotate 7
24    weekly
25    missingok
26    notifempty
27    compress
28    postrotate
29       if [ -d /run/systemd/system ]; then
30           /bin/systemctl reload syslog-ng.service >/dev/null
31           sleep 5
32       else
33           /usr/sbin/invoke-rc.d syslog-ng reload >/dev/null
34       fi
35    endscript
36 }
37
38 /var/log/debug {
39    rotate 4
40    weekly
41    missingok
42    notifempty
43    compress
44 }
45
46 /var/log/kern.log {
47    rotate 4
48    weekly
49    missingok
50    notifempty
51    compress
52 }
53
54 /var/log/lpr.log {
55    rotate 4
56    weekly
57    missingok
58    notifempty
59    compress
60 }
61
62 /var/log/mail.err {
63    rotate 30
64    daily
65    dateext
66    missingok
67    notifempty
68    compress
69 }
70
71 /var/log/mail.info {
72    rotate 30
73    daily
74    dateext
75    missingok
76    notifempty
77    compress
78 }
79
80 /var/log/mail.log {
81    rotate 30
82    daily
83    dateext
84    missingok
85    notifempty
86    compress
87    # listmaster asked for this one
88    delaycompress
89 }
90
91 /var/log/mail.warn {
92    rotate 30
93    daily
94    dateext
95    missingok
96    notifempty
97    compress
98 }
99
100 /var/log/messages {
101    rotate 4
102    weekly
103    missingok
104    notifempty
105    compress
106 }
107
108
109 /var/log/user.log {
110    rotate 4
111    weekly
112    missingok
113    notifempty
114    compress
115 }
116
117 /var/log/uucp.log {
118    rotate 4
119    missingok
120    notifempty
121    weekly
122    compress
123 }
124
125 /var/log/syslog {
126    rotate 7
127    daily
128    compress
129    postrotate
130       if [ -d /run/systemd/system ]; then
131           /bin/systemctl reload syslog-ng.service >/dev/null
132           sleep 5
133       else
134           /usr/sbin/invoke-rc.d syslog-ng reload >/dev/null
135       fi
136    endscript
137 }