From 96e33375cfff6879414adb9aadfa677ccbeefcda Mon Sep 17 00:00:00 2001 From: Stanislav Chzhen Date: Mon, 12 Feb 2024 20:15:29 +0300 Subject: [PATCH] Pull request 193: 5992-stats-qlog-custom-dir Squashed commit of the following: commit 6736d5da7d73472e58103e26b418b214894197c1 Author: Stanislav Chzhen Date: Wed Feb 7 14:17:25 2024 +0300 Configuratoin: fix typo commit 96ff1f27837f30e6516dc9f511e55a58d46cf9c9 Author: Stanislav Chzhen Date: Wed Feb 7 13:56:20 2024 +0300 Configuration: qlog stats custom dir --- Configuration.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Configuration.md b/Configuration.md index 7bca3d0..9b40545 100644 --- a/Configuration.md +++ b/Configuration.md @@ -744,21 +744,25 @@ Settings are stored in [YAML format](https://en.wikipedia.org/wiki/YAML), possib - `querylog` (**since v0.107.24**) — Query log settings section: - `enabled`: Query log status. - `file_enabled`: Write query logs to a file. - - `interval` (**since v0.107.27**): Time interval for query log files - rotation. It's a string with human-readable duration between an hour + - `interval` (**since v0.107.27**): Time interval for query log files + rotation. It's a string with human-readable duration between an hour (1h) and a year (8760h). - - `size_memory`: Number of entries kept in memory before they are flushed to disk. + - `size_memory`: Number of entries kept in memory before they are flushed to + disk. - `ignored`: List of host names, which should not be written to log. **Since v0.107.37,** AdBlock rule syntax is supported. + - `dir_path` (**since v0.107.45**): Custom directory for storing query log + files. - `statistics` (**since v0.107.24**) — Statistics settings section: - `enabled`: Statistics status. - - `interval`: Time interval for statistics. (**before v0.107.27**) It's a - number with duration in days. (**since v0.107.27**) It's a string with + - `interval`: Time interval for statistics. **Before v0.107.27,** it's a + number with duration in days. **Since v0.107.27,** it's a string with human-readable duration between an hour (1h) and a year (8760h). - `ignored`: List of host names, which should not be counted. **Since v0.107.37,** AdBlock rule syntax is supported. + - `dir_path` (**since v0.107.45**): Custom directory for storing statistics. - `filters` — List of filters, each filter has the following values: - `enabled` — Current filter's status (enabled/disabled). - `url` — URL pointing to the filter contents (filtering rules).