Part of blueprint common-rpc.
This patch removes the usage of cinder.log from cinder.rpc. This is
necessary before cinder.rpc can be moved to openstack-common. The rpc
logging was not using any of the extra features provided in cinder.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
"""
import inspect
+import logging
import sys
import uuid
from eventlet import pools
from eventlet import semaphore
-from cinder import log as logging
from cinder.openstack.common import local
import cinder.rpc.common as rpc_common
from cinder import utils
# under the License.
import copy
+import logging
import sys
import traceback
-from cinder import log as logging
from cinder.openstack.common import cfg
from cinder.openstack.common import importutils
from cinder.openstack.common import jsonutils
# under the License.
import itertools
+import json
+import logging
import time
import uuid
-import json
import eventlet
import greenlet
import qpid.messaging
import qpid.messaging.exceptions
-from cinder import log as logging
from cinder.openstack.common import cfg
from cinder.rpc import amqp as rpc_amqp
from cinder.rpc import common as rpc_common