]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
And introduce a mail-all.log
authorPeter Palfrader <peter@palfrader.org>
Mon, 21 Jun 2010 11:15:27 +0000 (13:15 +0200)
committerPeter Palfrader <peter@palfrader.org>
Mon, 21 Jun 2010 11:15:27 +0000 (13:15 +0200)
templates/syslog-ng.conf.erb

index 77cfabba05f9cdc817e77aeeff3fc36258b87b81..513835702402b932f4ed1fdff01d2386d0838b6a 100644 (file)
@@ -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); };