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
Printing access log to standard output #1293
Comments
It does seem as thought |
It should be https://github.com/benoitc/gunicorn/blob/master/gunicorn/glogging.py#L61-L77 If not, I will check what's missing. |
Yes, the |
The documentation is not out of date, but the behavior seems a little broken. From the Without With |
I propose we change the handling of |
fixed in df84d3d . It was already defaulting to stdout by using the config file btw. |
@benoitc Works as expected. Thank you so much! |
I apologize if what I am saying is wrong.
As far as I can tell, I don't see any easy way to print access logs to
stdout
. I see issue #1184. However, the fix does not seem to work. Invokinggunicorn
without any arguments does no access logging. Invokinggunicorn --access-log -
sends log messages to standard error (with gunicorn 19.6.0).I someone could let me know how to get error messages logged to standard error and access logs to standard output, I'd appreciate it.
The text was updated successfully, but these errors were encountered: