You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using gunicorn (via start.sh), one can disable the API access log via setting the corresponding environment variable to an empty value: ACCESS_LOG=. However, this is not possible when running the app with uvicorn and live-reload (via start-reload.sh).
But since you can pass the option --no-access-log to uvicorn (see docs), the script could be extended to disable the access log if the variable is set to an empty value.
The text was updated successfully, but these errors were encountered:
Now that Uvicorn supports managing workers with --workers, including restarting dead ones, there's no need for Gunicorn. That also means that it's much simpler to build a Docker image from scratch now, I updated the docs to explain it.
When using
gunicorn
(viastart.sh
), one can disable the API access log via setting the corresponding environment variable to an empty value:ACCESS_LOG=
. However, this is not possible when running the app withuvicorn
and live-reload (viastart-reload.sh
).But since you can pass the option
--no-access-log
touvicorn
(see docs), the script could be extended to disable the access log if the variable is set to an empty value.The text was updated successfully, but these errors were encountered: