mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 14:58:38 +00:00
silence third-party modules
This commit is contained in:
parent
417384d6f2
commit
f39e50c4db
8
test/__init__.py
Normal file
8
test/__init__.py
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
# Silence third-party modules
|
||||
import logging
|
||||
logging.getLogger("hyper").setLevel(logging.WARNING)
|
||||
logging.getLogger("requests").setLevel(logging.WARNING)
|
||||
logging.getLogger("passlib").setLevel(logging.WARNING)
|
||||
logging.getLogger("PIL").setLevel(logging.WARNING)
|
||||
logging.getLogger("tornado").setLevel(logging.WARNING)
|
Loading…
Reference in New Issue
Block a user