Annotation of /trunk/syslog-ng/syslog-ng.logrotate
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 1278 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 1278 byte(s)
-import
1 | niro | 153 | # |
2 | # Syslog-ng logrotate config file | ||
3 | # | ||
4 | |||
5 | |||
6 | /var/log/syslog { | ||
7 | rotate 7 | ||
8 | daily | ||
9 | compress | ||
10 | postrotate | ||
11 | /etc/init.d/syslog-ng reload >/dev/null | ||
12 | endscript | ||
13 | } | ||
14 | |||
15 | |||
16 | /var/log/auth.log { | ||
17 | rotate 4 | ||
18 | missingok | ||
19 | notifempty | ||
20 | weekly | ||
21 | compress | ||
22 | } | ||
23 | |||
24 | |||
25 | /var/log/cron.log { | ||
26 | rotate 4 | ||
27 | weekly | ||
28 | missingok | ||
29 | notifempty | ||
30 | compress | ||
31 | } | ||
32 | |||
33 | |||
34 | /var/log/daemon.log { | ||
35 | rotate 7 | ||
36 | weekly | ||
37 | missingok | ||
38 | notifempty | ||
39 | compress | ||
40 | } | ||
41 | |||
42 | |||
43 | /var/log/debug { | ||
44 | rotate 4 | ||
45 | weekly | ||
46 | missingok | ||
47 | notifempty | ||
48 | compress | ||
49 | } | ||
50 | |||
51 | |||
52 | /var/log/error { | ||
53 | rotate 6 | ||
54 | weekly | ||
55 | missingok | ||
56 | notifempty | ||
57 | compress | ||
58 | } | ||
59 | |||
60 | |||
61 | /var/log/kern.log { | ||
62 | rotate 4 | ||
63 | weekly | ||
64 | missingok | ||
65 | notifempty | ||
66 | compress | ||
67 | } | ||
68 | |||
69 | |||
70 | /var/log/lpr.log { | ||
71 | rotate 4 | ||
72 | weekly | ||
73 | missingok | ||
74 | notifempty | ||
75 | compress | ||
76 | } | ||
77 | |||
78 | |||
79 | /var/log/mail.err { | ||
80 | rotate 4 | ||
81 | weekly | ||
82 | missingok | ||
83 | notifempty | ||
84 | compress | ||
85 | } | ||
86 | |||
87 | |||
88 | /var/log/mail.info { | ||
89 | rotate 4 | ||
90 | weekly | ||
91 | missingok | ||
92 | notifempty | ||
93 | compress | ||
94 | } | ||
95 | |||
96 | |||
97 | /var/log/mail.log { | ||
98 | rotate 4 | ||
99 | weekly | ||
100 | missingok | ||
101 | notifempty | ||
102 | compress | ||
103 | } | ||
104 | |||
105 | |||
106 | /var/log/mail.warn { | ||
107 | rotate 4 | ||
108 | weekly | ||
109 | missingok | ||
110 | notifempty | ||
111 | compress | ||
112 | } | ||
113 | |||
114 | |||
115 | /var/log/messages { | ||
116 | rotate 4 | ||
117 | weekly | ||
118 | missingok | ||
119 | notifempty | ||
120 | compress | ||
121 | } | ||
122 | |||
123 | |||
124 | /var/log/everything { | ||
125 | rotate 4 | ||
126 | weekly | ||
127 | missingok | ||
128 | notifempty | ||
129 | compress | ||
130 | } | ||
131 | |||
132 | |||
133 | /var/log/user.log { | ||
134 | rotate 4 | ||
135 | weekly | ||
136 | missingok | ||
137 | notifempty | ||
138 | compress | ||
139 | } | ||
140 | |||
141 | |||
142 | /var/log/uucp.log { | ||
143 | rotate 4 | ||
144 | missingok | ||
145 | notifempty | ||
146 | weekly | ||
147 | compress | ||
148 | } | ||
149 | |||
150 |