From ba31993d8cd4f63bd151add2b4e06d5fb8c9c0d3 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 14 Aug 2014 13:57:58 +0100 Subject: [PATCH] Markdown fixes. --- doc/markdown/configuration/logging.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/markdown/configuration/logging.md b/doc/markdown/configuration/logging.md index b6d9584db..4ea6dbad9 100644 --- a/doc/markdown/configuration/logging.md +++ b/doc/markdown/configuration/logging.md @@ -21,14 +21,15 @@ Rspamd has a number of logging variants. First of all there are three types of l Also it is possible to turn on debug messages for specific ip addresses. This ability is usefull for testing. For each logging type there are special mandatory parameters: log facility for syslog (read `syslog(3)` manual page for details about facilities), log file for file logging. Also file logging may be buffered for speeding up. For reducing logging noise rspamd detects for sequential identic log messages and replace them with total number of repeats: -``` +~~~ #81123(fuzzy): May 11 19:41:54 rspamd file_log_function: Last message repeated 155 times #81123(fuzzy): May 11 19:41:54 rspamd process_write_command: fuzzy hash was successfully added -``` +~~~ ## Configuration parameters Here is summary of logging parameters: + * `type` - Defines logging type (file, console or syslog). For some types mandatory attribute is required: - `filename` - path to log file for file logging - `facility` - logging facility for syslog -- 2.39.5