COMMON: logger_config.py fixed bug where config yaml was ignored

This commit is contained in:
leonarski_f committed 2025-10-21 12:38:36 +02:00
1 parent d3ab570b54
commit aa1d39f9b0
1 file changed
+2
+2
View File
@@ -37,5 +37,7 @@ def setup_logger(name="aaredaq", base_dir: str | None = None):
if log_dir and not os.path.exists(log_dir):
os.makedirs(log_dir, exist_ok=True)
logging.config.dictConfig(config)
logging.getLogger("redis_lock").setLevel(logging.WARNING)
return logging.getLogger(name)