From 47cf27c01146e87b8bbf315f70e9752a38ba8edd Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Mon, 25 Jan 2016 19:20:44 +0100 Subject: [PATCH] silence 3rd party module loggers --- test/test_protocol_http2.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_protocol_http2.py b/test/test_protocol_http2.py index d3725e81b..a7e8978ab 100644 --- a/test/test_protocol_http2.py +++ b/test/test_protocol_http2.py @@ -8,6 +8,11 @@ from io import BytesIO import logging logging.getLogger("hyper.packages.hpack.hpack").setLevel(logging.WARNING) +logging.getLogger("requests.packages.urllib3.connectionpool").setLevel(logging.WARNING) +logging.getLogger("passlib.utils.compat").setLevel(logging.WARNING) +logging.getLogger("passlib.registry").setLevel(logging.WARNING) +logging.getLogger("PIL.Image").setLevel(logging.WARNING) +logging.getLogger("PIL.PngImagePlugin").setLevel(logging.WARNING) import netlib from netlib import tservers as netlib_tservers