Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuhtz committed Jul 16, 2024
1 parent 0f73448 commit 1ddfa14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/tooling/set_log_level.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ def set_log_level(logger: Logger, level_str: str) -> None:
if level_str not in log_levels:
level_str = 'DEBUG'

logger.setLevel(getLevelNamesMapping(level_str))
logger.setLevel(getLevelName(level_str))

logger.info(f'logging level: {level_str}')
logger.info(f'logging level: {level_str} ({getLevelName(level_str)})')

0 comments on commit 1ddfa14

Please sign in to comment.