From 9e91cfdded4be1e87c2b2aa004c5b30d5e1d36c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Fri, 3 Jul 2020 08:18:40 +0300 Subject: [PATCH] MXS-3039: Document qlafilter log rotation The interaction with the log rotation in MaxScale was not documented. --- Documentation/Filters/Query-Log-All-Filter.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/Filters/Query-Log-All-Filter.md b/Documentation/Filters/Query-Log-All-Filter.md index a0e48f8b3..28c27fbd1 100644 --- a/Documentation/Filters/Query-Log-All-Filter.md +++ b/Documentation/Filters/Query-Log-All-Filter.md @@ -24,6 +24,12 @@ password=mypasswd filters=MyLogFilter ``` +## Log Rotation + +The `qlafilter` logs can be rotated by executing the `maxctrl rotate logs` +command. This will cause the log files to be reopened when the next message is +written to the file. This applies to both unified and session type logging. + ## Filter Parameters The QLA filter has one mandatory parameter, `filebase`, and a number of optional