Use openstack.common.log for logging.

- We are not using openstack.common.notifier just yet so handedit
  openstack.common.log to use cinder.notifier now.

Change-Id: I9d912904c53a8ef5d90b4ab5792f5577701b6817
This commit is contained in:
Chmouel Boudjnah
2012-07-20 10:53:41 +00:00
parent 3536ee616f
commit fe716c0ee4
77 changed files with 316 additions and 488 deletions

View File

@@ -74,7 +74,7 @@ absdir = os.path.abspath(reldir)
sys.path.insert(0, absdir)
from cinder import flags
from cinder import log as logging
from cinder.openstack.common import log as logging
from cinder.openstack.common import cfg
@@ -345,7 +345,7 @@ def run():
# arbitrary nosetest flags as well
argv = [x for x in sys.argv if x != '--hide-elapsed']
hide_elapsed = argv != sys.argv
logging.setup()
logging.setup("cinder")
# If any argument looks like a test name but doesn't have "cinder.tests" in
# front of it, automatically add that so we don't have to type as much