Skip to content

bpo-34630: Skip logging SSL certificate errors by asyncio code #9169

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

Merged
merged 2 commits into from
Sep 12, 2018

Conversation

asvetlov
Copy link
Contributor

@asvetlov asvetlov commented Sep 11, 2018

We don't log connection errors, ssl cert error is not exceptional.

Now asyncio logs a bloated by cert error reports if asyncio is used, for example, for web crawling.
There is no way to suppress such logs, and there is no reason to log them at all.

https://bugs.python.org/issue34630

Copy link
Member

@1st1 1st1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please make a PR to uvloop?

@asvetlov asvetlov merged commit 0dd7180 into python:master Sep 12, 2018
@asvetlov asvetlov deleted the suppress-ssl-cert-error-logging branch September 12, 2018 21:03
@asvetlov
Copy link
Contributor Author

@1st1 I can point to all three places in the source code that should be updated but need your help for the actual change.

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.

4 participants