increase third party logger levels

This commit is contained in:
Jack Robison 2017-07-13 14:49:47 -04:00
parent 4c7c94e190
commit 7f36bed79d
No known key found for this signature in database
GPG key ID: 284699E7404E3CFF

View file

@ -108,11 +108,11 @@ def configure_handler(handler, log, level):
def disable_third_party_loggers():
logging.getLogger('requests').setLevel(logging.WARNING)
logging.getLogger('urllib3').setLevel(logging.WARNING)
logging.getLogger('requests').setLevel(logging.CRITICAL)
logging.getLogger('urllib3').setLevel(logging.CRITICAL)
logging.getLogger('BitcoinRPC').setLevel(logging.INFO)
logging.getLogger('lbryum').setLevel(logging.WARNING)
logging.getLogger('twisted').setLevel(logging.WARNING)
logging.getLogger('twisted').setLevel(logging.CRITICAL)
@_log_decorator