From 4a60afb86f7d6736af41388abdc5554a6f22471b Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 26 Jun 2023 16:54:04 -0600 Subject: [PATCH] Turn down logging for urllib3.util.retry This quiets messages like: "Converted retries value: 10 -> Retry(total=10, connect=None, read=None, redirect=None, status=None)" Signed-off-by: Zack Cerza --- teuthology/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teuthology/__init__.py b/teuthology/__init__.py index 4781f59bc1..d84f25a2ea 100644 --- a/teuthology/__init__.py +++ b/teuthology/__init__.py @@ -53,6 +53,9 @@ logging.getLogger('requests.packages.urllib3.connectionpool').setLevel( # if requests doesn't bundle it, shut it up anyway logging.getLogger('urllib3.connectionpool').setLevel( logging.WARN) +# We also don't need the "Converted retries value" messages +logging.getLogger('urllib3.util.retry').setLevel( + logging.WARN) logging.basicConfig( level=logging.INFO, -- 2.39.5