summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-17 07:05:27 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-17 07:05:27 +0000
commit9a2d4b69f9d4d88d42b3ac8ae38beef00cdc87c3 (patch)
treebce43d13e2c3fa6d3cc0111051f0d32d2249eb9f
parenta4f7f8299cd1a57c82690f6379bb96d7b8060642 (diff)
downloadrsyslog-9a2d4b69f9d4d88d42b3ac8ae38beef00cdc87c3.tar.gz
rsyslog-9a2d4b69f9d4d88d42b3ac8ae38beef00cdc87c3.tar.xz
rsyslog-9a2d4b69f9d4d88d42b3ac8ae38beef00cdc87c3.zip
added new config params
-rw-r--r--doc/rsyslog_conf.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/rsyslog_conf.html b/doc/rsyslog_conf.html
index 2171ec40..2e781201 100644
--- a/doc/rsyslog_conf.html
+++ b/doc/rsyslog_conf.html
@@ -141,6 +141,31 @@ here is set to &quot;on&quot;, the malicious message will be completely dropped
logs. If the option is set to &quot;off&quot;, the message will be logged, but the
original IP will be used instead of the DNS name.</p>
<p><code><b>$DropMsgsWithMaliciousDnsPTRRecords on</b></code></p>
+<h2>ControlCharacterEscapePrefix</h2>
+<p>This option specifies the prefix character to be used for control character
+escaping (see option $EscapeControlCharactersOnReceive). By default, it is '\',
+which is backwards-compatible with sysklogd. Change it to '#' in order to be
+compliant to the value that is somewhat suggested by Internet-Draft
+syslog-protocol. The first non-whitespace character after the command is treated
+as prefix:</p>
+<p><code><b>$EscapeControlCharactersOnReceive #&nbsp; # as of syslog-protocol</b></code></p>
+<h2>EscapeControlCharactersOnReceive</h2>
+<p>This directive instructs rsyslogd to replace control characters during
+reception of the message. The intent is to provide a way to stop non-printable
+messages from entering the syslog system as whole. If this option is truned on,
+all control-characters are converted to a 3-digit octal number and be prefixed
+with the $ControlCharacterEscapePrefix character (being '\' by default). For
+example, if the BEL character (ctrl-g) is included in the message, it would be
+converted to &quot;\007&quot;. To be compatible to sysklogd, this option must be turned
+on.</p>
+<p><code><b>$EscapeControlCharactersOnReceive on</b></code></p>
+<p><b>Warning:</b></p>
+<ul>
+ <li>turning on this option most probably destroys non-western character sets
+ (like Japanese, Chinese and Korean)</li>
+ <li>turning on this option destroys digital signutures if such exists inside
+ the message</li>
+</ul>
<h2>Templates</h2>
<p>Templates are a key feature of rsyslog. They allow to specify any format a user
might want. They are also used for dynamic file name generation. Every output in rsyslog uses templates - this holds true for files,