diff --git a/main.py b/main.py index 9be75f8..f2938f2 100644 --- a/main.py +++ b/main.py @@ -6,7 +6,12 @@ import uvicorn +from uvicorn.config import LOGGING_CONFIG + from app.api.app import app + + if __name__ == "__main__": + LOGGING_CONFIG["formatters"]["default"]["fmt"] = "%(asctime)s [%(name)s] %(levelprefix)s %(message)s" uvicorn.run(app, host="0.0.0.0", port=8000) \ No newline at end of file