1
0
Fork 0

don't do automatic activation of xmpplogger

This commit is contained in:
Félix Piédallu 2024-02-08 22:15:08 +01:00
parent d0854fb10a
commit 74bab09292
2 changed files with 4 additions and 1 deletions

View file

@ -30,4 +30,6 @@ class XmppLogHandler(logging.Handler):
logging.getLogger().handlers.append(handler)
XmppLogHandler.add(logging.ERROR)
def enable():
"""Enables the XmppLogHandler"""
XmppLogHandler.add(logging.ERROR)

View file

@ -249,6 +249,7 @@ def build_app_dict(app, infos):
def main() -> None:
appslib.xmpplogger.enable()
apps_cache_update_all(get_catalog(), parallel=50)
catalog = build_base_catalog()