Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
options to redirect stdout/stderr in gunicorn logging #1271
following a discussion on twitter, I would like to rediscuss having an option to redtirect stdout/stderr to our logs:
This behaviour has been removed in 4152318 3 years ago. But rediscussed last year and now.
I think we could have a
I love this idea. I was going to propose it myself after struggling with trying to get Django to have its stderr show up in gunicorn's error.log. I was just about to ask about it on the mailing list, but it seems that lists.gunicorn.org is dead.
So yeah, there should be a way to get stdout and stderr from the wsgi app sent to the same places that gunicorn uses for its error logging etc. In this way, it will be like the old days of CGI scripts sending their output to apache log files. :)