mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 02:50:39 +00:00
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:
parent
95cc0ae7fd
commit
2e74acaabe
8 changed files with 199 additions and 21 deletions
|
@ -69,6 +69,9 @@ public class App {
|
|||
parser.addArgument("--verbose")
|
||||
.help("Raise log level and include lib signal logs. Specify multiple times for even more logs.")
|
||||
.action(Arguments.count());
|
||||
parser.addArgument("--log-file")
|
||||
.type(File.class)
|
||||
.help("Write log output to the given file. If --verbose is also given, the detailed logs will only be written to the log file.");
|
||||
parser.addArgument("-c", "--config")
|
||||
.help("Set the path, where to store the config (Default: $XDG_DATA_HOME/signal-cli , $HOME/.local/share/signal-cli).");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue