From 1b9d386c80a15ef6b5497861e664ec029143039f Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 10 Dec 2024 08:06:34 +0100 Subject: [PATCH] CLI: Allow using --debug and --json --- npbackup/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npbackup/__main__.py b/npbackup/__main__.py index 8c16f53..deb7dc2 100644 --- a/npbackup/__main__.py +++ b/npbackup/__main__.py @@ -346,7 +346,7 @@ This is free software, and you are welcome to redistribute it under certain cond if args.json: _JSON = True logger = ofunctions.logger_utils.logger_get_logger( - log_file, console=False, debug=_DEBUG + log_file, console=_DEBUG, debug=_DEBUG ) else: logger = ofunctions.logger_utils.logger_get_logger(log_file, debug=_DEBUG)