1+ # -*- coding: utf-8 -*-
2+ # vim: ft=yaml
3+ ---
14syslog_ng :
25 options :
3- - chain_hostnames: no
6+ - chain_hostnames : false
47 - flush_lines : 0
5- - use_dns: no
6- - use_fqdn: no
8+ - use_dns : false
9+ - use_fqdn : false
710 - owner : root
811 - group : adm
912 - perm : =0640
@@ -12,143 +15,144 @@ syslog_ng:
1215
1316 source :
1417 - s_src :
15- - system: null
16- - internal: null
18+ - system : null
19+ - internal : null
1720
1821 destination :
1922 # First some standard logfile
2023 - d_auth :
21- - file:
22- - /var/log/auth.log
24+ - file :
25+ - /var/log/auth.log
2326 - d_cron :
24- - file:
25- - /var/log/cron.log
27+ - file :
28+ - /var/log/cron.log
2629 - d_daemon :
27- - file:
28- - /var/log/daemon.log
30+ - file :
31+ - /var/log/daemon.log
2932 - d_kern :
30- - file:
31- - /var/log/kern.log
33+ - file :
34+ - /var/log/kern.log
3235 - d_lpr :
33- - file:
34- - /var/log/lpr.log
36+ - file :
37+ - /var/log/lpr.log
3538 - d_mail :
36- - file:
37- - /var/log/mail.log
39+ - file :
40+ - /var/log/mail.log
3841 - d_syslog :
39- - file:
40- - /var/log/syslog
42+ - file :
43+ - /var/log/syslog
4144 - d_user :
42- - file:
43- - /var/log/user.log
45+ - file :
46+ - /var/log/user.log
4447 - d_uucp :
45- - file:
46- - /var/log/uucp.log
48+ - file :
49+ - /var/log/uucp.log
4750
4851 # This files are the log come from the mail subsystem.
4952 - d_mailinfo :
50- - file:
51- - /var/log/mail.info
53+ - file :
54+ - /var/log/mail.info
5255 - d_mailwarn :
53- - file:
54- - /var/log/mail.warn
56+ - file :
57+ - /var/log/mail.warn
5558 - d_mailerr :
56- - file:
57- - /var/log/mail.err
59+ - file :
60+ - /var/log/mail.err
5861
5962 # Logging for INN news system
6063 - d_newscrit :
61- - file:
62- - /var/log/news/news.crit
64+ - file :
65+ - /var/log/news/news.crit
6366 - d_newserr :
64- - file:
65- - /var/log/news/news.err
67+ - file :
68+ - /var/log/news/news.err
6669 - d_newsnotice :
67- - file:
68- - /var/log/news/news.notice
70+ - file :
71+ - /var/log/news/news.notice
6972
7073 # Some 'catch-all' logfiles
7174 - d_debug :
72- - file:
73- - /var/log/debug
75+ - file :
76+ - /var/log/debug
7477 - d_error :
75- - file:
76- - /var/log/error
78+ - file :
79+ - /var/log/error
7780 - d_messages :
78- - file:
79- - /var/log/messages
81+ - file :
82+ - /var/log/messages
8083
8184 # The root's console.
8285 - d_console :
83- - usertty:
84- - root
86+ - usertty :
87+ - root
8588
8689 # Virtual console.
8790 - d_console_all :
88- - file:
89- - '`tty10`'
91+ - file :
92+ - ' `tty10`'
9093
9194 # The named pipe /dev/xconsole is for the nsole' utility.
9295 - d_xconsole :
93- - pipe:
94- - /dev/xconsole
96+ - pipe :
97+ - /dev/xconsole
9598
9699 # Debian only
97100 - d_ppp :
98- - file:
99- - /var/log/ppp.log
101+ - file :
102+ - /var/log/ppp.log
100103
101104 filter :
102105 - f_dbg :
103- - level: =debug
106+ - level : =debug
104107 - f_info :
105- - level: =info
108+ - level : =info
106109 - f_notice :
107- - level: =notice
110+ - level : =notice
108111 - f_warn :
109- - level: =warn
112+ - level : =warn
110113 - f_err :
111- - level: =err
114+ - level : =err
112115 - f_crit :
113- - level: =crit .. emerg
116+ - level : =crit .. emerg
114117 - f_error :
115- - level: =err .. emerg
118+ - level : =err .. emerg
116119 - f_console :
117- - level: =warn .. emerg
120+ - level : =warn .. emerg
118121
119122 - f_debug :
120- - =level(debug) and not facility(auth, authpriv, news, mail)
123+ - =level(debug) and not facility(auth, authpriv, news, mail)
121124 - f_messages :
122- - =level(info,notice,warn) and not facility(auth,authpriv,cron,daemon,mail,news)
125+ - =level(info,notice,warn) and not facility(auth,authpriv,cron,daemon,mail,news)
123126
124127 - f_auth :
125- - =facility(auth, authpriv) and not filter(f_debug)
128+ - =facility(auth, authpriv) and not filter(f_debug)
126129 - f_cron :
127- - =facility(cron) and not filter(f_debug)
130+ - =facility(cron) and not filter(f_debug)
128131 - f_daemon :
129- - =facility(daemon) and not filter(f_debug)
132+ - =facility(daemon) and not filter(f_debug)
130133 - f_kern :
131- - =facility(kern) and not filter(f_debug)
134+ - =facility(kern) and not filter(f_debug)
132135 - f_lpr :
133- - =facility(lpr) and not filter(f_debug)
136+ - =facility(lpr) and not filter(f_debug)
134137 - f_local :
135- - =facility(local0, local1, local3, local4, local5, local6, local7) and not filter(f_debug)
138+ # yamllint disable-line rule:line-length
139+ - =facility(local0, local1, local3, local4, local5, local6, local7) and not filter(f_debug)
136140 - f_mail :
137- - =facility(mail) and not filter(f_debug)
141+ - =facility(mail) and not filter(f_debug)
138142 - f_news :
139- - =facility(news) and not filter(f_debug)
143+ - =facility(news) and not filter(f_debug)
140144 - f_syslog3 :
141- - =not facility(auth, authpriv, mail) and not filter(f_debug)
145+ - =not facility(auth, authpriv, mail) and not filter(f_debug)
142146 - f_user :
143- - =facility(user) and not filter(f_debug)
147+ - =facility(user) and not filter(f_debug)
144148 - f_uucp :
145- - =facility(uucp) and not filter(f_debug)
149+ - =facility(uucp) and not filter(f_debug)
146150 - f_cnews :
147- - =level(notice, err, crit) and facility(news)
151+ - =level(notice, err, crit) and facility(news)
148152 - f_cother :
149- - =level(debug, info, notice, warn) or facility(daemon, mail)
153+ - =level(debug, info, notice, warn) or facility(daemon, mail)
150154 - f_ppp :
151- - =facility(local2) and not filter(f_debug)
155+ - =facility(local2) and not filter(f_debug)
152156
153157 log :
154158 -
0 commit comments