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

Stop wsgiref.simple_server from logging to stderr by default. #14

Merged
merged 5 commits into from
Mar 30, 2024

Conversation

jruby411
Copy link
Contributor

I have my weather station set to send data to Home Assistant every 16 seconds. This was needlessly filling up the log with useless information and by-passing the python logging module.

The default wsgiref.simple_server sends every request to stderr, actually, not to python logging module.

So, I followed the advice given here:

Control wsgiref.simple_server log

@tlskinneriv
Copy link
Owner

Thanks for the PR! Will take a deeper look this weekend and get the change merged in.

@tlskinneriv tlskinneriv merged commit 85b9ccb into tlskinneriv:master Mar 30, 2024
8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants