Skip to content

Commit

Permalink
#11 one liner for console log handler
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-br committed Oct 17, 2024
1 parent afe6b9e commit d05172c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sysdiagnose/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ def main():
args = parser.parse_args()

# Handle console logging
log_level = args.log.upper()
logger.addHandler(get_console_handler(log_level))
logger.addHandler(get_console_handler(args.log.upper()))

sd = Sysdiagnose()

Expand Down

0 comments on commit d05172c

Please sign in to comment.