silence 3rd party module loggers

This commit is contained in:
Thomas Kriechbaumer 2016-01-25 19:20:44 +01:00
parent bfc7d3967c
commit 47cf27c011

View File

@ -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