lib/deprec/recipes/syslog/syslog_ng.rb in le1t0-deprec-2.1.6.038 vs lib/deprec/recipes/syslog/syslog_ng.rb in le1t0-deprec-2.1.6.039
- old
+ new
@@ -75,10 +75,10 @@
:f_at_least_crit => "level(crit..emerg)",
:f_debug => "level(debug) and not facility(auth, authpriv, news, mail)",
:f_messages => "level(info,notice,warn) and not facility(auth,authpriv,cron,daemon,mail,news)",
:f_emerg => "level(emerg)",
:f_xconsole => "facility(daemon,mail) or level(debug,info,notice,warn) or (facility(news) and level(crit,err,notice))",
- :f_daemons => "program(\"(rails|apache|postfix|haproxy|mysql|keepalived|sphinx|firewall)-.*\")"
+ :f_daemons => "program(\"(rails|apache|postfix|haproxy|mysql|keepalived|sphinx|firewall)-.*\") or facility(user,local0,local1,local2,local3,local4,local5,local6,local7)"
}
set :syslog_ng_destinations, {
:df_auth => "file(\"/var/log/auth.log\")",
:df_syslog => "file(\"/var/log/syslog\")",
:df_cron => "file(\"/var/log/cron.log\")",