diff --git a/src/common/logging_helpers.py b/src/common/logging_helpers.py index d8f73bf65..2acb7d691 100644 --- a/src/common/logging_helpers.py +++ b/src/common/logging_helpers.py @@ -152,6 +152,12 @@ def init(use_color=False): root_log.addHandler(consoleloghandler) root_log.propagate = False + # handle nbxmpp logs too + root_log = logging.getLogger('nbxmpp') + root_log.setLevel(logging.WARNING) + root_log.addHandler(consoleloghandler) + root_log.propagate = False + def set_loglevels(loglevels_string): parseAndSetLogLevels(loglevels_string)