only log errors to loggly
This commit is contained in:
parent
6395ac4f59
commit
d086fb9547
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ def get_loggly_url(token=None, version=None):
|
||||||
def configure_loggly_handler():
|
def configure_loggly_handler():
|
||||||
if build_type.BUILD == 'dev':
|
if build_type.BUILD == 'dev':
|
||||||
return
|
return
|
||||||
level = logging.WARNING
|
level = logging.ERROR
|
||||||
handler = get_loggly_handler(level=level, installation_id=conf.settings.installation_id,
|
handler = get_loggly_handler(level=level, installation_id=conf.settings.installation_id,
|
||||||
session_id=conf.settings.get_session_id())
|
session_id=conf.settings.get_session_id())
|
||||||
log = logging.getLogger("lbrynet")
|
log = logging.getLogger("lbrynet")
|
||||||
|
|
Loading…
Reference in a new issue