Add default /etc/syslog-ng/syslog-ng.conf and /etc/logrotate.d/syslog-ng
[mirror/dsa-puppet.git] / files / etc / logrotate.d / syslog-ng
1 /var/log/auth.log {
2    rotate 4
3    missingok
4    notifempty
5    weekly
6    compress
7 }
8
9 /var/log/cron.log {
10    rotate 4
11    weekly
12    missingok
13    notifempty
14    compress
15 }
16
17 /var/log/daemon.log {
18    rotate 7
19    weekly
20    missingok
21    notifempty
22    compress
23 }
24
25 /var/log/debug {
26    rotate 4
27    weekly
28    missingok
29    notifempty
30    compress
31 }
32
33 /var/log/kern.log {
34    rotate 4
35    weekly
36    missingok
37    notifempty
38    compress
39 }
40
41 /var/log/lpr.log {
42    rotate 4
43    weekly
44    missingok
45    notifempty
46    compress
47 }
48
49 /var/log/mail.err {
50    rotate 4
51    weekly
52    missingok
53    notifempty
54    compress
55 }
56
57 /var/log/mail.info {
58    rotate 4
59    weekly
60    missingok
61    notifempty
62    compress
63 }
64
65 /var/log/mail.log {
66    rotate 4
67    weekly
68    missingok
69    notifempty
70    compress
71 }
72
73 /var/log/mail.warn {
74    rotate 4
75    weekly
76    missingok
77    notifempty
78    compress
79 }
80
81 /var/log/messages {
82    rotate 4
83    weekly
84    missingok
85    notifempty
86    compress
87 }
88
89
90 /var/log/user.log {
91    rotate 4
92    weekly
93    missingok
94    notifempty
95    compress
96 }
97
98 /var/log/uucp.log {
99    rotate 4
100    missingok
101    notifempty
102    weekly
103    compress
104 }
105
106 /var/log/syslog {
107    rotate 7
108    daily
109    compress
110    postrotate
111       /usr/sbin/invoke-rc.d syslog-ng reload >/dev/null
112    endscript
113 }