Skip to content

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

Merged
asvetlov merged 2 commits into
python:masterfrom
asvetlov:suppress-ssl-cert-error-logging
Sep 12, 2018
Merged

bpo-34630: Skip logging SSL certificate errors by asyncio code#9169
asvetlov merged 2 commits into
python:masterfrom
asvetlov:suppress-ssl-cert-error-logging

Conversation

@asvetlov

@asvetlov asvetlov commented Sep 11, 2018

Copy link
Copy Markdown
Contributor

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

@1st1 1st1 left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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