Feature: Disable access log when using live-reload
RafaelWO opened this issue · comments
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.