Skip to content

Commit

Permalink
More backwards-compat updates
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Jul 25, 2024
1 parent 4765295 commit b7ca1d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neon_utils/log_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def init_log(config: dict = None, log_name: str = None) -> type(LOG):
_logs_conf["level"] = _cfg.get("log_level", "INFO")
LOG.debug(f"Initializing logger with: {_logs_conf}")
LOG.init(_logs_conf) # read log level from config
LOG.name = log_name
LOG.name = _logs_conf.get('name') or log_name

_logs_conf = _cfg.get("logs") or _cfg.get("logging") or {}

Expand Down

0 comments on commit b7ca1d8

Please sign in to comment.