mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-09 13:11:58 +08:00
CLI: Allow using --debug and --json
This commit is contained in:
parent
c4f5c72f2e
commit
1b9d386c80
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ This is free software, and you are welcome to redistribute it under certain cond
|
||||||
if args.json:
|
if args.json:
|
||||||
_JSON = True
|
_JSON = True
|
||||||
logger = ofunctions.logger_utils.logger_get_logger(
|
logger = ofunctions.logger_utils.logger_get_logger(
|
||||||
log_file, console=False, debug=_DEBUG
|
log_file, console=_DEBUG, debug=_DEBUG
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
logger = ofunctions.logger_utils.logger_get_logger(log_file, debug=_DEBUG)
|
logger = ofunctions.logger_utils.logger_get_logger(log_file, debug=_DEBUG)
|
||||||
|
|
Loading…
Add table
Reference in a new issue