summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-19 14:25:41 +0000
committerGitHub <noreply@github.com>2016-11-19 14:25:41 +0000
commitb8de1be8f86fcc1f264beef615f0ddb15ab02467 (patch)
tree25da9f47b87e6104cf01eb23c0a48e5c46d1186e /conf
parentdf6d2198992f58eff1aa9220a39f4ff5b59dc3ac (diff)
parent343339a16546fd03178ed71dfcbc95f6b73f83fa (diff)
downloadrspamd-b8de1be8f86fcc1f264beef615f0ddb15ab02467.tar.gz
rspamd-b8de1be8f86fcc1f264beef615f0ddb15ab02467.zip
Merge pull request #1153 from moisseev/patch-1
[Config] Remove extra spaces and commas from default log format
Diffstat (limited to 'conf')
-rw-r--r--conf/logging.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/conf/logging.inc b/conf/logging.inc
index 61c9461a3..b8d032c41 100644
--- a/conf/logging.inc
+++ b/conf/logging.inc
@@ -2,13 +2,13 @@
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_scores_params]), len: $len, time: $time_real real,
- $time_virtual virtual, dns req: $dns_req, digest: <$digest>
-$if_smtp_rcpts{ rcpts: <$>, }$if_mime_rcpt{ mime_rcpt: <$>, }
+id: <$mid>,$if_qid{ qid: <$>,}$if_ip{ ip: $,}$if_user{ user: $,}$if_smtp_from{ from: <$>,}
+(default: $is_spam ($action): [$scores] [$symbols_scores_params]),
+len: $len, time: $time_real real, $time_virtual virtual, dns req: $dns_req,
+digest: <$digest>$if_smtp_rcpts{, rcpts: <$>}$if_mime_rcpt{, mime_rcpt: <$>}
EOD
+
# Show statistics for regular expressions
log_re_cache = true;