Silence connection pool logging

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
This commit is contained in:
Zack Cerza 2014-06-12 11:47:28 -05:00
parent ef9638a26a
commit 4fed92c039

View File

@ -5,6 +5,10 @@ monkey.patch_all()
import logging
# We don't need to see log entries for each connection opened
logging.getLogger('requests.packages.urllib3.connectionpool').setLevel(
logging.WARN)
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s.%(msecs)03d %(levelname)s:%(name)s:%(message)s')