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
Turn off access log with gunicorn #1143
Comments
By default, accesslog is None if i recall correctly |
By default, access_log is True. |
did you try define your own |
@yunstanford Can you give an example how such a file should look like? I am unable to stop sanic.access log. I am using Gunicorn and Sanic on Heroku. No matter what I configure, I still see the access log if I tail the logs. |
I have tried sanic with the default set up using gunicorn with the default configuration and sanic outputs twice the access logs, once in gunicorn and once with sanic.accesslog But then in the Sanic's _helper function we have: So therefore the access log is always @yunstanford can you double check? And then we maybe need to add this in the documentation :) |
Is there any way to turn off access log with gunicorn?
I could not find any example to set access_log=False with gunicorn.
The text was updated successfully, but these errors were encountered: