File: rsconf1_controlcharacterescapeprefix.rst

package info (click to toggle)
rsyslog-doc 8.2504.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,556 kB
  • sloc: python: 178; makefile: 8
file content (24 lines) | stat: -rw-r--r-- 761 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$ControlCharacterEscapePrefix
-----------------------------

**Type:** global configuration parameter

**Default:** \\

**Description:**

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.

**IMPORTANT**: do not use the ' character. This is reserved and will
most probably be used in the future as a character delimiter. For the
same reason, the syntax of this parameter will probably change in future
releases.

**Sample:**

``$EscapeControlCharactersOnReceive #  # as of syslog-protocol``