Pull request: 2504 querylog interval

Merge in DNS/adguard-home-wiki from 2504-querylog-ivl to master

Squashed commit of the following:

commit 671f4a05e3effb3fb5a8856df2964325d6248172
Author: Eugene Burkov <e.burkov@adguard.com>
Date:   Thu Jul 1 16:39:58 2021 +0300

    Configuration: fix again

commit f951fa91384895cc2a0d88be54cc3dba48cc6faf
Author: Eugene Burkov <e.burkov@adguard.com>
Date:   Thu Jul 1 16:37:31 2021 +0300

    Configuration: fix grammar

commit ed15e2486b39984cab71fac6ef0d0dfa70e21aac
Author: Eugene Burkov <e.burkov@adguard.com>
Date:   Thu Jul 1 16:28:01 2021 +0300

    Configuration: imp docs

commit f9ad19044ef16e159057beacfdfeb0fe917fd957
Author: Eugene Burkov <e.burkov@adguard.com>
Date:   Thu Jul 1 16:21:03 2021 +0300

    Configuration: change querylog interval format
Eugene Burkov 2021-07-01 18:55:57 +03:00
parent d1b144ada5
commit 75727c3ca7

@ -203,7 +203,10 @@ Settings are stored in [YAML format](https://en.wikipedia.org/wiki/YAML), possib
- **Query log settings**
- `querylog_enabled` — Query logging (also used to calculate top 50 clients, blocked domains and requested domains for statistical purposes).
- `querylog_file_enabled` — Write query logs to a file.
- `querylog_interval` - Time interval for query log (in days)
- `querylog_interval` - time interval for query log files rotation. It's in
days **until v0.107.0**, the possible values are: `90`, `30`, `7`, `1`.
**Since v0.107.0** it's a human-readable duration in hours, the possible
values are: `2160h`, `720h`, `168h`, `24h`, `6h`.
- `querylog_size_memory` - Number of entries kept in memory before they are flushed to disk
- `anonymize_client_ip` - If true, anonymize clients' IP addresses in logs and stats
- **Anti-DNS amplification features**