forked from LBRYCommunity/lbry-sdk
add torba logging
This commit is contained in:
parent
40b90ce79b
commit
957d0290df
1 changed files with 2 additions and 0 deletions
|
@ -243,6 +243,8 @@ def main(argv=None):
|
|||
handler = logging.StreamHandler()
|
||||
handler.setFormatter(default_formatter)
|
||||
log.addHandler(handler)
|
||||
logging.getLogger('torba').addHandler(handler)
|
||||
logging.getLogger('torba').setLevel(logging.INFO)
|
||||
|
||||
logging.getLogger('aioupnp').setLevel(logging.WARNING)
|
||||
logging.getLogger('aiohttp').setLevel(logging.CRITICAL)
|
||||
|
|
Loading…
Reference in a new issue