Skip to content

Commit

Permalink
log_setting: fix sub loggers setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Apr 9, 2024
1 parent 569ee31 commit c8b4c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otaclient/app/log_setting.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def configure_logging():
_otaclient_logger.setLevel(cfg.DEFAULT_LOG_LEVEL)

# configure each sub loggers
for _module_name, _log_level in cfg.LOG_LEVEL_TABLE:
for _module_name, _log_level in cfg.LOG_LEVEL_TABLE.items():
_logger = logging.getLogger(_module_name)
_logger.setLevel(_log_level)

Expand Down

0 comments on commit c8b4c91

Please sign in to comment.