pass conf to get_loggly_handler

This commit is contained in:
Akinwale Ariwodola 2020-02-25 08:34:50 +01:00
parent 8ea48977ae
commit da1ea77aa9

View file

@ -68,7 +68,7 @@ def configure_logging(conf):
logging.getLogger('lbry').setLevel(logging.DEBUG if lbrynet_android_utils.isDebug() else logging.INFO)
logging.getLogger('torba').setLevel(logging.INFO)
loggly_handler = get_loggly_handler()
loggly_handler = get_loggly_handler(conf)
loggly_handler.setLevel(logging.ERROR)
logging.getLogger('lbry').addHandler(loggly_handler)