summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sleekxmpp/util/sasl/client.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/sleekxmpp/util/sasl/client.py b/sleekxmpp/util/sasl/client.py
index 7689c3c2..36f8b7a7 100644
--- a/sleekxmpp/util/sasl/client.py
+++ b/sleekxmpp/util/sasl/client.py
@@ -11,11 +11,15 @@
:license: MIT, see LICENSE for more details
"""
+import logging
import stringprep
from sleekxmpp.util import hashes, bytes, stringprep_profiles
+log = logging.getLogger(__name__)
+
+
#: Global registry mapping mechanism names to implementation classes.
MECHANISMS = {}
@@ -157,7 +161,7 @@ def choose(mech_list, credentials, security_settings, limit=None, min_mech=None)
return mech_class(best_mech, creds, security_opts)
except SASLCancelled as e:
- log.debug('SASL: %s: %s', (best_mech, e.message))
+ log.info('SASL: %s: %s', best_mech, e.message)
mech_list.remove(best_mech)
return choose(mech_list, credentials, security_settings,
limit=limit,