@@ -7,231 +7,6 @@ Debian:
77 syslog_ng_config : /etc/syslog-ng/syslog-ng.conf
88 syslog_ng_config_src : salt://syslog_ng/files/syslog-ng.conf
99
10- options :
11- - chain_hostnames : no
12- - flush_lines : 0
13- - use_dns : no
14- - use_fqdn : no
15- - owner : root
16- - group : adm
17- - perm : =0640
18- - stats_freq : 0
19- - bad_hostname : " ^gconfd$"
20-
21- source :
22- - s_src :
23- - system : null
24- - internal : null
25-
26- destination :
27- # First some standard logfile
28- - d_auth :
29- - file :
30- - /var/log/auth.log
31- - d_cron :
32- - file :
33- - /var/log/cron.log
34- - d_daemon :
35- - file :
36- - /var/log/daemon.log
37- - d_kern :
38- - file :
39- - /var/log/kern.log
40- - d_lpr :
41- - file :
42- - /var/log/lpr.log
43- - d_mail :
44- - file :
45- - /var/log/mail.log
46- - d_syslog :
47- - file :
48- - /var/log/syslog
49- - d_user :
50- - file :
51- - /var/log/user.log
52- - d_uucp :
53- - file :
54- - /var/log/uucp.log
55-
56- # This files are the log come from the mail subsystem.
57- - d_mailinfo :
58- - file :
59- - /var/log/mail.info
60- - d_mailwarn :
61- - file :
62- - /var/log/mail.warn
63- - d_mailerr :
64- - file :
65- - /var/log/mail.err
66-
67- # Logging for INN news system
68- - d_newscrit :
69- - file :
70- - /var/log/news/news.crit
71- - d_newserr :
72- - file :
73- - /var/log/news/news.err
74- - d_newsnotice :
75- - file :
76- - /var/log/news/news.notice
77-
78- # Some 'catch-all' logfiles
79- - d_debug :
80- - file :
81- - /var/log/debug
82- - d_error :
83- - file :
84- - /var/log/error
85- - d_messages :
86- - file :
87- - /var/log/messages
88-
89- # The root's console.
90- - d_console :
91- - usertty :
92- - root
93-
94- # Virtual console.
95- - d_console_all :
96- - file :
97- - ' `tty10`'
98-
99- # The named pipe /dev/xconsole is for the nsole' utility.
100- - d_xconsole :
101- - pipe :
102- - /dev/xconsole
103-
104- # Debian only
105- - d_ppp :
106- - file :
107- - /var/log/ppp.log
108-
109- filter :
110- - f_dbg :
111- - level : =debug
112- - f_info :
113- - level : =info
114- - f_notice :
115- - level : =notice
116- - f_warn :
117- - level : =warn
118- - f_err :
119- - level : =err
120- - f_crit :
121- - level : =crit .. emerg
122- - f_error :
123- - level : =err .. emerg
124- - f_console :
125- - level : =warn .. emerg
126-
127- - f_debug :
128- - =level(debug) and not facility(auth, authpriv, news, mail)
129- - f_messages :
130- - =level(info,notice,warn) and not facility(auth,authpriv,cron,daemon,mail,news)
131-
132- - f_auth :
133- - =facility(auth, authpriv) and not filter(f_debug)
134- - f_cron :
135- - =facility(cron) and not filter(f_debug)
136- - f_daemon :
137- - =facility(daemon) and not filter(f_debug)
138- - f_kern :
139- - =facility(kern) and not filter(f_debug)
140- - f_lpr :
141- - =facility(lpr) and not filter(f_debug)
142- - f_local :
143- - =facility(local0, local1, local3, local4, local5, local6, local7) and not filter(f_debug)
144- - f_mail :
145- - =facility(mail) and not filter(f_debug)
146- - f_news :
147- - =facility(news) and not filter(f_debug)
148- - f_syslog3 :
149- - =not facility(auth, authpriv, mail) and not filter(f_debug)
150- - f_user :
151- - =facility(user) and not filter(f_debug)
152- - f_uucp :
153- - =facility(uucp) and not filter(f_debug)
154- - f_cnews :
155- - =level(notice, err, crit) and facility(news)
156- - f_cother :
157- - =level(debug, info, notice, warn) or facility(daemon, mail)
158- - f_ppp :
159- - =facility(local2) and not filter(f_debug)
160-
161- log :
162- -
163- - source : =s_src
164- - filter : =f_auth
165- - destination : =d_auth
166- -
167- - source : =s_src
168- - filter : =f_cron
169- - destination : =d_cron
170- -
171- - source : =s_src
172- - filter : =f_daemon
173- - destination : =d_daemon
174- -
175- - source : =s_src
176- - filter : =f_kern
177- - destination : =d_kern
178- -
179- - source : =s_src
180- - filter : =f_lpr
181- - destination : =d_lpr
182- -
183- - source : =s_src
184- - filter : =f_syslog3
185- - destination : =d_syslog
186- -
187- - source : =s_src
188- - filter : =f_user
189- - destination : =d_user
190- -
191- - source : =s_src
192- - filter : =f_uucp
193- - destination : =d_uucp
194- -
195- - source : =s_src
196- - filter : =f_mail
197- - destination : =d_mail
198- -
199- - source : =s_src
200- - filter : =f_news
201- - filter : =f_crit
202- - destination : =d_newscrit
203- -
204- - source : =s_src
205- - filter : =f_news
206- - filter : =f_err
207- - destination : =d_newserr
208- -
209- - source : =s_src
210- - filter : =f_news
211- - filter : =f_notice
212- - destination : =d_newsnotice
213- -
214- - source : =s_src
215- - filter : =f_debug
216- - destination : =d_debug
217- -
218- - source : =s_src
219- - filter : =f_error
220- - destination : =d_error
221- -
222- - source : =s_src
223- - filter : =f_messages
224- - destination : =d_messages
225- -
226- - source : =s_src
227- - filter : =f_console
228- - destination : =d_console_all
229- - destination : =d_xconsole
230- -
231- - source : =s_src
232- - filter : =f_crit
233- - destination : =d_console
234-
23510Gentoo :
23611 package : app-admin/syslog-ng
23712 service : syslog-ng
0 commit comments