Remove nova.log usage from nova.rpc.

Part of blueprint common-rpc.

This patch removes the usage of nova.log from nova.rpc.  This is
necessary before nova.rpc can be moved to openstack-common.  The rpc
logging was not using any of the extra features provided in nova.log as
far as I can tell, so the changes are very simple.

This is the final dependency.  After this change, the rpc code
can be moved to openstack-common without any changes.

Change-Id: I17ca4b691bb8d4f18e618632a2381dd12d31852a
This commit is contained in:
Russell Bryant
2012-05-26 20:42:09 -04:00
parent b69ff31454
commit 5e4ec06d32
3 changed files with 3 additions and 3 deletions

View File

@@ -26,6 +26,7 @@ AMQP, but is deprecated and predates this code.
"""
import inspect
import logging
import sys
import uuid
@@ -33,7 +34,6 @@ from eventlet import greenpool
from eventlet import pools
from eventlet import semaphore
from nova import log as logging
from nova.openstack.common import excutils
from nova.openstack.common import local
import nova.rpc.common as rpc_common

View File

@@ -18,10 +18,10 @@
# under the License.
import copy
import logging
import sys
import traceback
from nova import log as logging
from nova.openstack.common import cfg
from nova.openstack.common import importutils
from nova.openstack.common import jsonutils

View File

@@ -18,6 +18,7 @@
import functools
import itertools
import json
import logging
import time
import uuid
@@ -26,7 +27,6 @@ import greenlet
import qpid.messaging
import qpid.messaging.exceptions
from nova import log as logging
from nova.openstack.common import cfg
from nova.rpc import amqp as rpc_amqp
from nova.rpc import common as rpc_common