don't do automatic activation of xmpplogger
This commit is contained in:
parent
d0854fb10a
commit
74bab09292
2 changed files with 4 additions and 1 deletions
|
@ -30,4 +30,6 @@ class XmppLogHandler(logging.Handler):
|
||||||
logging.getLogger().handlers.append(handler)
|
logging.getLogger().handlers.append(handler)
|
||||||
|
|
||||||
|
|
||||||
XmppLogHandler.add(logging.ERROR)
|
def enable():
|
||||||
|
"""Enables the XmppLogHandler"""
|
||||||
|
XmppLogHandler.add(logging.ERROR)
|
||||||
|
|
|
@ -249,6 +249,7 @@ def build_app_dict(app, infos):
|
||||||
|
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
|
appslib.xmpplogger.enable()
|
||||||
apps_cache_update_all(get_catalog(), parallel=50)
|
apps_cache_update_all(get_catalog(), parallel=50)
|
||||||
|
|
||||||
catalog = build_base_catalog()
|
catalog = build_base_catalog()
|
||||||
|
|
Loading…
Reference in a new issue