aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-06 15:37:53 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-06 15:37:53 +0000
commit568937a7d711f0082533b0b19fbf19a792438443 (patch)
tree298f7b17539d4e180e2534a7f51efc37f1475de2 /conf
parent32edc7767d567f6882418b77781ee04d7faa86aa (diff)
downloadrspamd-568937a7d711f0082533b0b19fbf19a792438443.tar.gz
rspamd-568937a7d711f0082533b0b19fbf19a792438443.zip
Add default log_format to the config
Diffstat (limited to 'conf')
-rw-r--r--conf/logging.inc6
1 files changed, 6 insertions, 0 deletions
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