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 dfd71dc71a
commit dd50e4dedb
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)