mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
don't do automatic activation of xmpplogger
This commit is contained in:
parent
dfd71dc71a
commit
dd50e4dedb
2 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue