8000 Added documentation for feature/escaping-unicode-control-chars by cpjulia · Pull Request #771 · arangodb/docs · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Added documentation for feature/escaping-unicode-control-chars #771

Merged
merged 17 commits into from
Oct 1, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update 3.9/programs-arangod-log.md
Co-authored-by: Jan <jsteemann@users.noreply.github.com>
  • Loading branch information
cpjulia and jsteemann authored Sep 21, 2021
commit 08d0dcd417ca5da7a4d97abddefeda95ff37a266
16 changes: 7 additions & 9 deletions 3.9/programs-arangod-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,13 @@ should be used.

- `--log.escape-control-chars`: this flag applies to the control characters, which have hex codes below `\x20`,
and also the character DEL with hex code `\x7f`. When the flag value is set to `false`, control
character will be retained, and its actual value will be displayed when it
is a visible character, or a space ` ` character will be displayed if it is
not a visible character. The same will happen to `DEL` character (code `\xF7`),
even though it is not a control character, because it is not visible. For example,
control characer `\n` is visible, so a `\n` will be displayed in the log, and
control character `BEL` is not visible, so a space ` ` would be displayed.
When its value is set to true, the hex code for the character is displayed, for
example, `BEL` character would be displayed as its hex code, `\x07`.
The default value for this flag is `true` for compatibility with
characters will be retained when they have a visible representation, and replaced
with a space character in case they don't have a visible representation. For example,
the control characer `\n` is visible, so a `\n` will be displayed in the log. Contrary,
the control character `BEL` is not visible, so a space will be displayed instead.
When the flag value is set to `true`, the hex code for the character is displayed, for
example, the `BEL` character will be displayed as its hex code, `\x07`.
The default value for this flag is `true` to ensure compatibility with
previous versions.

- `--log.escape-unicode-chars`: when its value is set to false, the unicode character
Expand Down
0