diff options
author | nicoco <nicoco@nicoco.fr> | 2022-10-03 10:12:06 +0200 |
---|---|---|
committer | nicoco <nicoco@nicoco.fr> | 2022-10-03 10:16:02 +0200 |
commit | 189bbcce191446be6e64b00e10b230924bb7e572 (patch) | |
tree | 3fd8958283dc1f0f3619b2835efb0c735eecb3db | |
parent | 79607e43f1a24b3d1f8f5e5695e054aae03caab6 (diff) | |
download | slixmpp-189bbcce191446be6e64b00e10b230924bb7e572.tar.gz slixmpp-189bbcce191446be6e64b00e10b230924bb7e572.tar.bz2 slixmpp-189bbcce191446be6e64b00e10b230924bb7e572.tar.xz slixmpp-189bbcce191446be6e64b00e10b230924bb7e572.zip |
logger: remove NullHandler for the "slixmpp" handler
This does not seem to accomplish anything besides
hiding the "using the slow, pure python stringprep"
warning, unless you import logging and add another
handler before to the "slixmpp" logger *BEFORE*
importing slixmpp.
-rw-r--r-- | slixmpp/__init__.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/slixmpp/__init__.py b/slixmpp/__init__.py index a4796d78..5841cdf7 100644 --- a/slixmpp/__init__.py +++ b/slixmpp/__init__.py @@ -5,7 +5,6 @@ # See the file LICENSE for copying permission. import logging from os import getenv -logging.getLogger(__name__).addHandler(logging.NullHandler()) # Use defusedxml if wanted # Since enabling it can have adverse consequences for the programs using |