mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 23:09:44 +00:00
silence 3rd party module loggers
This commit is contained in:
parent
bfc7d3967c
commit
47cf27c011
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user