]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Add default log_format to the config
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 6 Nov 2015 15:37:53 +0000 (15:37 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 6 Nov 2015 15:37:53 +0000 (15:37 +0000)
conf/logging.inc

index bded3744b4198c61419e5d3de392f01bdb93512b..8891470be13e8227c4e6a8004a83dda167b31944 100644 (file)
@@ -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