summaryrefslogtreecommitdiff
path: root/keystoneclient/auth/identity/v2.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystoneclient/auth/identity/v2.py')
-rw-r--r--keystoneclient/auth/identity/v2.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/keystoneclient/auth/identity/v2.py b/keystoneclient/auth/identity/v2.py
index 4342251..ad93dba 100644
--- a/keystoneclient/auth/identity/v2.py
+++ b/keystoneclient/auth/identity/v2.py
@@ -11,6 +11,7 @@
# under the License.
import abc
+import logging
from oslo.config import cfg
import six
@@ -20,6 +21,8 @@ from keystoneclient.auth.identity import base
from keystoneclient import exceptions
from keystoneclient import utils
+_logger = logging.getLogger(__name__)
+
@six.add_metaclass(abc.ABCMeta)
class Auth(base.BaseIdentityPlugin):
@@ -66,8 +69,9 @@ class Auth(base.BaseIdentityPlugin):
if self.trust_id:
params['auth']['trust_id'] = self.trust_id
+ _logger.debug('Making authentication request to %s', url)
resp = session.post(url, json=params, headers=headers,
- authenticated=False)
+ authenticated=False, log=False)
try:
resp_data = resp.json()['access']