Skip to content

Commit 6acf046

Browse files
committed
HDX-10202 set logging conf file path
1 parent 5da99be commit 6acf046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import logging.config
33
import os
44

5-
logging.config.fileConfig('logging.conf')
5+
logging.config.fileConfig(os.getenv('LOGGING_CONF_FILE','logging.conf'))
66

77
import uvicorn # noqa
88
from fastapi import FastAPI, Request # noqa

0 commit comments

Comments
 (0)