From 4fed92c03907d937da1b7564bc345baa47928fae Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 12 Jun 2014 11:47:28 -0500 Subject: [PATCH] Silence connection pool logging Signed-off-by: Zack Cerza --- teuthology/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/teuthology/__init__.py b/teuthology/__init__.py index 29b85ea8df..138af33962 100644 --- a/teuthology/__init__.py +++ b/teuthology/__init__.py @@ -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') -- 2.39.5