From 5937c9cb9dfb1cda2015619d7ce3fccd640eb2c5 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 21 Jun 2010 13:15:27 +0200 Subject: [PATCH] And introduce a mail-all.log --- templates/syslog-ng.conf.erb | 4 ++++ 1 file changed, 4 insertions(+) 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); }; -- 2.20.1