From 568937a7d711f0082533b0b19fbf19a792438443 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 6 Nov 2015 15:37:53 +0000 Subject: Add default log_format to the config --- conf/logging.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'conf') diff --git a/conf/logging.inc b/conf/logging.inc index bded3744b..8891470be 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 -- cgit v1.2.3