mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 19:06:55 +00:00
11 lines
233 B
Python
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
|