Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

reduce logging of https connections #70

Open
lordnynex opened this issue Sep 17, 2015 · 1 comment
Open

reduce logging of https connections #70

lordnynex opened this issue Sep 17, 2015 · 1 comment

Comments

@lordnynex
Copy link

Currently sync produces this output

Starting new HTTPS connection (1): app.asana.com
Starting new HTTPS connection (1): app.asana.com
Starting new HTTPS connection (1): app.asana.com
Starting new HTTPS connection (1): app.asana.com
Starting new HTTPS connection (1): app.asana.com
Starting new HTTPS connection (1): app.asana.com
Starting new HTTPS connection (1): app.asana.com
Starting new HTTPS connection (1): app.asana.com

Which isn't really a big deal, but it clutters up the output. I think you can suppress this output with

import logging
logging.getLogger("requests").setLevel(logging.WARNING)
@soundofjw soundofjw changed the title sync messaging enhancement reduce logging of https connections Sep 17, 2015
@soundofjw
Copy link

I also get this a lot:

Resetting dropped connection: app.asana.com
Resetting dropped connection: app.asana.com

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants