chore: apply suggestions

This commit is contained in:
2025-11-25 12:56:13 +01:00
parent ae7c7a0236
commit 953fde7b0c
5 changed files with 20 additions and 1 deletions

View File

@@ -37,6 +37,12 @@ def add_logging_level(level_name: str, level_num: int, method_name: str | None =
def setup_logging(path: str = ".logging_config.yaml") -> None:
"""
Setup logging configuration of the CB. Tries to load the logging configuration from a file,
in which we specify custom loggers, formatters, handlers, etc.
:param path:
:return:
"""
if os.path.exists(path):
with open(path) as f:
try: