From ae949881a9e594b6010585f63f734b291317dc3c Mon Sep 17 00:00:00 2001 From: Esa Korhonen Date: Tue, 16 Jan 2018 17:26:08 +0200 Subject: [PATCH] MXS-1511: Add documentation about new parameters --- Documentation/Filters/Query-Log-All-Filter.md | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/Filters/Query-Log-All-Filter.md b/Documentation/Filters/Query-Log-All-Filter.md index dc768805a..4b27e7516 100644 --- a/Documentation/Filters/Query-Log-All-Filter.md +++ b/Documentation/Filters/Query-Log-All-Filter.md @@ -146,6 +146,27 @@ false. append=true ``` +### `separator` + +Default value is "," (a comma). Defines the separator string between elements of +a log entry. The value should be enclosed in quotes. + +``` +separator=" | " +``` + +### `newline_replacement` + +Default value is " " (one space). SQL-queries may include line breaks, which, if +printed directly to the log, may break automatic parsing. This parameter defines +what should be written in the place of a newline sequence (\r, \n or \r\n). If +this is set as the empty string, then newlines are not replaced and printed as +is to the output. The value should be enclosed in quotes. + +``` +newline_replacement=" NL " +``` + ## Examples ### Example 1 - Query without primary key