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

eventlet.wsgi.server log level #807

Open
mdivyamohan opened this issue Jul 19, 2023 · 0 comments
Open

eventlet.wsgi.server log level #807

mdivyamohan opened this issue Jul 19, 2023 · 0 comments

Comments

@mdivyamohan
Copy link

The API eventlet.wsgi.server(sock, site, log=None, ..) writes logs with level as INFO.

log – logging.Logger instance or file-like object that logs should be written to.
If a Logger instance is supplied, messages are sent to the INFO log level. If not specified, sys.stderr is used.

But there is no support to tune this level.

For example, I want to use logger, but i want my application to write info logs, and the WSGI logs should be debug level.
Currently is there no way to achieve this?

AndrewKvalheim added a commit to AndrewKvalheim/changedetection.io that referenced this issue Mar 22, 2024
The WSGI server logs every HTTP response at level INFO, which is
inappropriately verbose. As a workaround, disable response logging at
application log levels above DEBUG.
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