pass conf to get_loggly_handler

This commit is contained in:
Akinwale Ariwodola 2020-02-25 08:36:39 +01:00
parent 4714059932
commit bc03f5aa06

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)