mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
10 lines
383 B
Python
10 lines
383 B
Python
from __future__ import (print_function, absolute_import, division)
|
|
|
|
# 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)
|