pass conf to get_loggly_handler
This commit is contained in:
parent
8ea48977ae
commit
da1ea77aa9
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ def configure_logging(conf):
|
||||||
logging.getLogger('lbry').setLevel(logging.DEBUG if lbrynet_android_utils.isDebug() else logging.INFO)
|
logging.getLogger('lbry').setLevel(logging.DEBUG if lbrynet_android_utils.isDebug() else logging.INFO)
|
||||||
logging.getLogger('torba').setLevel(logging.INFO)
|
logging.getLogger('torba').setLevel(logging.INFO)
|
||||||
|
|
||||||
loggly_handler = get_loggly_handler()
|
loggly_handler = get_loggly_handler(conf)
|
||||||
loggly_handler.setLevel(logging.ERROR)
|
loggly_handler.setLevel(logging.ERROR)
|
||||||
logging.getLogger('lbry').addHandler(loggly_handler)
|
logging.getLogger('lbry').addHandler(loggly_handler)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue