From c5eebfeceebecbfe7768f5b10439ade563677580 Mon Sep 17 00:00:00 2001 From: Stanislav Chzhen Date: Fri, 24 Mar 2023 17:18:34 +0300 Subject: [PATCH] Pull request 161: 4299-querylog-stats-interval Merge in DNS/adguard-home-wiki from 4299-querylog-stats-interval to master Squashed commit of the following: commit 956fe56e031e644b7261efc2b3f5f1f86d8d7f8e Merge: 85b6c53 5e145e8 Author: Stanislav Chzhen Date: Fri Mar 24 16:27:33 2023 +0300 Merge branch 'master' into 4299-querylog-stats-interval commit 85b6c53fba09cec7b2fe66a988f02e186ab5e9ee Author: Stanislav Chzhen Date: Fri Mar 24 16:27:18 2023 +0300 Configuration: add before commit 4340f9c026abf7dd4d7aa8a51747f75c15d6a77d Author: Stanislav Chzhen Date: Fri Mar 24 15:01:12 2023 +0300 Configuration: querylog stats interval --- Configuration.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Configuration.md b/Configuration.md index 2c98c2d..47b9f97 100644 --- a/Configuration.md +++ b/Configuration.md @@ -508,14 +508,16 @@ 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`: Time interval for query log files rotation. It's a - human-readable duration in hours, the possible values are: `2160h`, - `720h`, `168h`, `24h`, `6h`. + - `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. - `ignored`: List of host names, which should not be written to log. - `statistics` (**since v0.107.24**) — Statistics settings section: - `enabled`: Statistics status. - - `interval`: Time interval for statistics (in days) + - `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. - `filters` — List of filters, each filter has the following values: - `enabled` — Current filter's status (enabled/disabled).