Add --log-file parameter to write logs to separate file

Use logback for more control over the log output

Fixes #845
This commit is contained in:
AsamK 2022-01-29 12:35:19 +01:00
parent 95cc0ae7fd
commit 2e74acaabe
8 changed files with 199 additions and 21 deletions

View file

@ -37,6 +37,10 @@ Print the version and quit.
*--verbose*::
Raise log level and include lib signal logs.
*--log-file* LOG_FILE::
Write log output to the given file.
If `--verbose` is also given, the detailed logs will only be written to the log file.
*--config* CONFIG::
Set the path, where to store the config.
Make sure you have full read/write access to the given directory.