COMMON: logger_config.py fixed bug where config yaml was ignored
This commit is contained in:
1 parent
d3ab570b54
commit
aa1d39f9b0
1 file changed
+2
@@ -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)
|
||||
Reference in new issue
Block a user