File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
content/riak/kv/2.2.3/using/reference Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,21 @@ and the message `prefix` will often identify the Riak subsystem
6565involved, e.g. ` riak_ensemble_peer ` or ` alarm_handler ` (amongst many
6666other possibilities).
6767
68+ {{% note title="Warning: Log messages may contain newline characters" %}}
69+ As of Riak KV 2.2.3 a few of the log messages may contain newline
70+ characters, preventing reliable identification of the end of each log
71+ when attempting log files ingestion by external tools.
72+
73+ A known workaround is ingesting not the logs enabled by the
74+ ` log.console ` configurable parameter but rather the logs as enabled by
75+ the ` log.syslog ` configurable parameter and processed by syslog,
76+ e.g. exploiting the
77+ [ ` no-multi-line ` ] ( https://www.balabit.com/documents/syslog-ng-ose-3.5-guides/en/syslog-ng-ose-guide-admin/html-single/index.html )
78+ option (e.g. see [ this StackExchange topic
79+ answer] ( https://unix.stackexchange.com/questions/317422/is-there-a-way-to-rewrite-parts-of-a-message-globally-instead-of-inserting-rewri/317474#317474 ) )
80+ - or equivalent - of syslog implementations.
81+ {{% /note %}}
82+
6883The exception to this syntax is in crash logs (stored in ` crash.log `
6984files). For crash logs, the syntax tends to be along the following
7085lines:
You can’t perform that action at this time.
0 commit comments