def setup_logging():
current_dir = os.path.dirname(__file__)
logging_config_file = os.path.join(current_dir,
DEFAULT_LOGGING_CONFIG_FILE)
with open(logging_config_file, "rt") as f:
config = json.load(f)
log_conf.dictConfig(config)
评论列表
文章目录