From 9a2d4b69f9d4d88d42b3ac8ae38beef00cdc87c3 Mon Sep 17 00:00:00 2001
From: Rainer Gerhards
$DropMsgsWithMaliciousDnsPTRRecords on
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:
+$EscapeControlCharactersOnReceive # # as of syslog-protocol
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 "\007". To be compatible to sysklogd, this option must be turned +on.
+$EscapeControlCharactersOnReceive on
Warning:
+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, -- cgit