diff --git a/uvicorn_config.json b/uvicorn_config.json index b51ff91..5292bcc 100644 --- a/uvicorn_config.json +++ b/uvicorn_config.json @@ -16,12 +16,14 @@ "default": { "formatter": "default", "class": "logging.StreamHandler", - "stream": "ext://sys.stderr" + "stream": "ext://sys.stderr", + "filename": "/var/log/uvicorn.log" }, "access": { "formatter": "access", "class": "logging.StreamHandler", - "stream": "ext://sys.stdout" + "stream": "ext://sys.stdout", + "filename": "/var/log/uvicorn.log" } }, "loggers": {