From: Vsevolod Stakhov Date: Fri, 6 Nov 2015 15:37:53 +0000 (+0000) Subject: Add default log_format to the config X-Git-Tag: 1.1.0~620 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=568937a7d711f0082533b0b19fbf19a792438443;p=thirdparty%2Frspamd.git Add default log_format to the config --- diff --git a/conf/logging.inc b/conf/logging.inc index bded3744b4..8891470be1 100644 --- a/conf/logging.inc +++ b/conf/logging.inc @@ -1,3 +1,9 @@ # Included from top-level .conf file level = "info"; +log_format =<< EOD +id: <$mid>,$if_qid{ qid: <$>,}$if_ip{ ip: $,}$if_user{ user: $,}$if_smtp_from{ from: <$>,} +(default: $is_spam ($action): [$scores] [$symbols]), +len: $len, time: $time_real real, +$time_virtual virtual, dns req: $dns_req +EOD