We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a5a7a0 commit 789bc90Copy full SHA for 789bc90
main.py
@@ -2,7 +2,7 @@
2
import logging.config
3
import os
4
5
-logging.config.fileConfig('logging.conf')
+logging.config.fileConfig(os.getenv('LOGGING_CONF_FILE','logging.conf'))
6
7
import uvicorn # noqa
8
from fastapi import FastAPI, Request # noqa
0 commit comments