Skip to content

Commit

Permalink
[core] Fix setting default logging level in configure_logging()
Browse files Browse the repository at this point in the history
  • Loading branch information
aschuh-hf committed Aug 3, 2023
1 parent f15819e commit 28ccfa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deepali/core/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def configure_logging(
log_level = getattr(args, "log_level", log_level)
log_level = LogLevel.from_arg(log_level)
if log_level is LogLevel.NOTSET:
log_level = logging.INFO
log_level = LogLevel.INFO
logger.setLevel(log_level.value)
logging.getLogger("botocore").setLevel(logging.ERROR)
logging.getLogger("s3transfer").setLevel(logging.ERROR)
Expand Down

0 comments on commit 28ccfa9

Please sign in to comment.