From 9e08daa7dff34621b9a3ffa4d3021d9e4a4ea61d Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Fri, 5 Jun 2020 15:50:38 +0300 Subject: [PATCH] + config: add new logging parameters Squashed commit of the following: commit 6ad2014f681fe4c852f208d0dc21fbea5e027c75 Author: Simon Zolin Date: Fri Jun 5 13:55:58 2020 +0300 update commit cf9775771a6dad40646d396259955953fca60dd0 Author: Simon Zolin Date: Fri Jun 5 12:36:57 2020 +0300 defaults commit d7f1d67dc98bd0f5e34345f7e84051e47eaca554 Author: Simon Zolin Date: Fri Jun 5 12:28:57 2020 +0300 + config: add new logging parameters --- Configuration.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Configuration.md b/Configuration.md index 3f8c987..a331cea 100644 --- a/Configuration.md +++ b/Configuration.md @@ -221,8 +221,14 @@ Settings are stored in [YAML format](https://en.wikipedia.org/wiki/YAML), possib * `private_key` - PEM-encoded private key. * `icmp_timeout_msec` - time (ms) to wait for ICMP reply to detect an IP conflict. If 0, the feature is disabled. * `user_rules` — User-specified filtering rules. - * `log_file` — Path to the log file. If empty, writes to stdout, if `syslog` -- system log (or eventlog on Windows). - * `verbose` — Enable our disables debug verbose output. + * **Log settings** + * `log_file` — Path to the log file. If empty, writes to stdout, if `syslog` -- system log (or eventlog on Windows). + * `log_compress` — Compress determines if the rotated log files should be compressed using gzip (default: false) + * `log_localtime` — If the time used for formatting the timestamps in is the computer's local time (default: false [UTC]) + * `log_max_backups` — Maximum number of old log files to retain (MaxAge may still cause them to get deleted) (default: 0, which retains all old log files) + * `log_max_size` — Maximum size in megabytes of the log file before it gets rotated (default: 100 MB) + * `log_max_age` — MaxAge is the maximum number of days to retain old log files (default: 3) + * `verbose` — Enable our disables debug verbose output (default: false) Removing an entry from settings file will reset it to the default value. Deleting the file will reset all settings to the default values.