mitmproxy/test/mitmproxy/__init__.py
2016-10-17 10:32:12 +02:00

8 lines
315 B
Python

# 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)