summaryrefslogtreecommitdiffstats
path: root/keystone/auth
diff options
context:
space:
mode:
authorLance Bragstad <ldbragst@us.ibm.com>2013-08-12 17:41:40 +0000
committerDolph Mathews <dolph.mathews@gmail.com>2013-08-15 12:28:57 -0500
commit0c2fc69ba15d8a0a0c045294495503e451501ac9 (patch)
tree0fe61f996796196687840619a5d7b0db37ef810a /keystone/auth
parent14e090154c10001550127628c2728013f15d4256 (diff)
downloadkeystone-0c2fc69ba15d8a0a0c045294495503e451501ac9.tar.gz
keystone-0c2fc69ba15d8a0a0c045294495503e451501ac9.tar.xz
keystone-0c2fc69ba15d8a0a0c045294495503e451501ac9.zip
Refactor Keystone to use unified logging from Oslo
Modifications to use log from /keystone/openstack/common/log.py instead of /keystone/common/logging.py. This change also includes some refactoring to remove the WriteableLogger class from common/wsgi.py since that is already included in the unified logging sync from Oslo. This also moves fail_gracefully from /keystone/common/logging.py to service.py as it is only used within that module. blueprint unified-logging-in-keystone Change-Id: I24b319bd6cfe5e345ea903196188f2394f4ef102
Diffstat (limited to 'keystone/auth')
-rw-r--r--keystone/auth/controllers.py2
-rw-r--r--keystone/auth/plugins/password.py2
-rw-r--r--keystone/auth/plugins/token.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/keystone/auth/controllers.py b/keystone/auth/controllers.py
index d1bd764f..6add068e 100644
--- a/keystone/auth/controllers.py
+++ b/keystone/auth/controllers.py
@@ -17,12 +17,12 @@
from keystone.common import controller
from keystone.common import dependency
-from keystone.common import logging
from keystone.common import wsgi
from keystone import config
from keystone import exception
from keystone import identity
from keystone.openstack.common import importutils
+from keystone.openstack.common import log as logging
from keystone import token
from keystone import trust
diff --git a/keystone/auth/plugins/password.py b/keystone/auth/plugins/password.py
index f3cfeba8..66c6d05b 100644
--- a/keystone/auth/plugins/password.py
+++ b/keystone/auth/plugins/password.py
@@ -15,9 +15,9 @@
# under the License.
from keystone import auth
-from keystone.common import logging
from keystone import exception
from keystone import identity
+from keystone.openstack.common import log as logging
METHOD_NAME = 'password'
diff --git a/keystone/auth/plugins/token.py b/keystone/auth/plugins/token.py
index 720eccac..b82c0311 100644
--- a/keystone/auth/plugins/token.py
+++ b/keystone/auth/plugins/token.py
@@ -15,9 +15,9 @@
# under the License.
from keystone import auth
-from keystone.common import logging
from keystone.common import wsgi
from keystone import exception
+from keystone.openstack.common import log as logging
from keystone import token