Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Disable access log when using live-reload #177

Open
RafaelWO opened this issue Mar 28, 2023 · 0 comments
Open

Feature: Disable access log when using live-reload #177

RafaelWO opened this issue Mar 28, 2023 · 0 comments

Comments

@RafaelWO
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant