summaryrefslogtreecommitdiff
path: root/nova/servicegroup
diff options
context:
space:
mode:
authorDavanum Srinivas <davanum@gmail.com>2015-02-09 17:28:19 -0500
committerDavanum Srinivas <davanum@gmail.com>2015-02-22 07:56:40 -0500
commit97d63d8745cd9b3b391ce96b94b4da263b3a053d (patch)
treed5263049b6672424f7ad5ec7e8aa364609022b40 /nova/servicegroup
parent69d0c643610dadca24fd146b6fdcfd82362fb431 (diff)
downloadnova-97d63d8745cd9b3b391ce96b94b4da263b3a053d.tar.gz
Use oslo.log
Convert the use of the incubated version of the log module to the new oslo.log library. Sync oslo-incubator modules to update their imports as well. Co-Authored-By: Doug Hellmann <doug@doughellmann.com> Change-Id: Ic4932e3f58191869c30bd07a010a6e9fdcb2a12c
Diffstat (limited to 'nova/servicegroup')
-rw-r--r--nova/servicegroup/api.py2
-rw-r--r--nova/servicegroup/drivers/db.py2
-rw-r--r--nova/servicegroup/drivers/mc.py2
-rw-r--r--nova/servicegroup/drivers/zk.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/nova/servicegroup/api.py b/nova/servicegroup/api.py
index 07dcec13ba..cce039aa8f 100644
--- a/nova/servicegroup/api.py
+++ b/nova/servicegroup/api.py
@@ -17,10 +17,10 @@
"""Define APIs for the servicegroup access."""
from oslo_config import cfg
+from oslo_log import log as logging
from oslo_utils import importutils
from nova.i18n import _, _LW
-from nova.openstack.common import log as logging
LOG = logging.getLogger(__name__)
_default_driver = 'db'
diff --git a/nova/servicegroup/drivers/db.py b/nova/servicegroup/drivers/db.py
index 4a14259b69..82ce6d3f0a 100644
--- a/nova/servicegroup/drivers/db.py
+++ b/nova/servicegroup/drivers/db.py
@@ -14,13 +14,13 @@
# limitations under the License.
from oslo_config import cfg
+from oslo_log import log as logging
from oslo_utils import timeutils
import six
from nova import conductor
from nova import context
from nova.i18n import _, _LE
-from nova.openstack.common import log as logging
from nova.servicegroup import api
from nova.servicegroup.drivers import base
diff --git a/nova/servicegroup/drivers/mc.py b/nova/servicegroup/drivers/mc.py
index 0534ceb973..9c0ea83b95 100644
--- a/nova/servicegroup/drivers/mc.py
+++ b/nova/servicegroup/drivers/mc.py
@@ -18,12 +18,12 @@
# limitations under the License.
from oslo_config import cfg
+from oslo_log import log as logging
from oslo_utils import timeutils
from nova import conductor
from nova import context
from nova.i18n import _, _LE
-from nova.openstack.common import log as logging
from nova.openstack.common import memorycache
from nova.servicegroup import api
from nova.servicegroup.drivers import base
diff --git a/nova/servicegroup/drivers/zk.py b/nova/servicegroup/drivers/zk.py
index 671f23720f..2c7866a15b 100644
--- a/nova/servicegroup/drivers/zk.py
+++ b/nova/servicegroup/drivers/zk.py
@@ -18,11 +18,11 @@ import os
import eventlet
from oslo_config import cfg
+from oslo_log import log as logging
from oslo_utils import importutils
from nova import exception
from nova.i18n import _LE, _LW
-from nova.openstack.common import log as logging
from nova.openstack.common import loopingcall
from nova.servicegroup.drivers import base