From 0c2fc69ba15d8a0a0c045294495503e451501ac9 Mon Sep 17 00:00:00 2001 From: Lance Bragstad Date: Mon, 12 Aug 2013 17:41:40 +0000 Subject: 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 --- keystone/assignment/backends/ldap.py | 2 +- keystone/assignment/core.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'keystone/assignment') diff --git a/keystone/assignment/backends/ldap.py b/keystone/assignment/backends/ldap.py index 718d38c3..45ce6432 100644 --- a/keystone/assignment/backends/ldap.py +++ b/keystone/assignment/backends/ldap.py @@ -23,11 +23,11 @@ from keystone import assignment from keystone import clean from keystone.common import dependency from keystone.common import ldap as common_ldap -from keystone.common import logging from keystone.common import models from keystone import config from keystone import exception from keystone.identity.backends import ldap as ldap_identity +from keystone.openstack.common import log as logging CONF = config.CONF diff --git a/keystone/assignment/core.py b/keystone/assignment/core.py index 0a2ee681..d78d3485 100644 --- a/keystone/assignment/core.py +++ b/keystone/assignment/core.py @@ -17,10 +17,10 @@ """Main entry point into the assignment service.""" from keystone.common import dependency -from keystone.common import logging from keystone.common import manager from keystone import config from keystone import exception +from keystone.openstack.common import log as logging CONF = config.CONF -- cgit