From: Peter Palfrader Date: Mon, 21 Jun 2010 11:15:27 +0000 (+0200) Subject: And introduce a mail-all.log X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5937c9cb9dfb1cda2015619d7ce3fccd640eb2c5;p=mirror%2Fdsa-puppet.git And introduce a mail-all.log --- diff --git a/templates/syslog-ng.conf.erb b/templates/syslog-ng.conf.erb index 77cfabba0..513835702 100644 --- a/templates/syslog-ng.conf.erb +++ b/templates/syslog-ng.conf.erb @@ -477,6 +477,7 @@ destination hostdest_facility_dot_crit { file("/var/log/hosts/$HOST/$YEAR/$MON # Catch all log files #---------------------------------------------------------------------- destination df_ALL_auth { file("/var/log/auth-all.log"); }; +destination df_ALL_mail { file("/var/log/mail-all.log"); }; destination df_ALL_syslog { file("/var/log/syslog-all"); }; log { source(s_local); @@ -528,6 +529,9 @@ log { source(s_local); log { source(s_local); source(s_network); filter(f_auth); destination(df_ALL_auth); }; +log { source(s_local); + source(s_network); + filter(f_mail); destination(df_ALL_mail); }; log { source(s_local); source(s_network); filter(f_syslog); destination(df_ALL_syslog); };