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.
This commit is contained in:
parent
79607e43f1
commit
189bbcce19
1 changed files with 0 additions and 1 deletions
|
@ -5,7 +5,6 @@
|
||||||
# See the file LICENSE for copying permission.
|
# See the file LICENSE for copying permission.
|
||||||
import logging
|
import logging
|
||||||
from os import getenv
|
from os import getenv
|
||||||
logging.getLogger(__name__).addHandler(logging.NullHandler())
|
|
||||||
|
|
||||||
# Use defusedxml if wanted
|
# Use defusedxml if wanted
|
||||||
# Since enabling it can have adverse consequences for the programs using
|
# Since enabling it can have adverse consequences for the programs using
|
||||||
|
|
Loading…
Reference in a new issue