clearml-server/apiserver/config/__init__.py
2021-01-05 16:44:31 +02:00

11 lines
233 B
Python

import logging.config
from pathlib import Path
from .basic import BasicConfig
def load_config():
config = BasicConfig(Path(__file__).with_name("default"))
logging.config.dictConfig(config.get("logging"))
return config