summaryrefslogtreecommitdiff
path: root/nova/tests/__init__.py
diff options
context:
space:
mode:
authorAndrew Bogott <abogott@wikimedia.org>2012-06-28 15:59:23 -0500
committerAndrew Bogott <abogott@wikimedia.org>2012-07-02 15:57:09 -0500
commitd335457f48d09c3d780c92413fe777030c1335e2 (patch)
tree3403e3548f1a374b002470f8c7c399a9e8eed381 /nova/tests/__init__.py
parent2038e933bd8bde659e31b4a78e2211a585e3dcec (diff)
downloadnova-d335457f48d09c3d780c92413fe777030c1335e2.tar.gz
Switch to common logging.
I only just moved logging from nova to common, so behavior should remain the same. Change-Id: I1d7304ca200f9d024bb7244d25be2f9a670318fb
Diffstat (limited to 'nova/tests/__init__.py')
-rw-r--r--nova/tests/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/__init__.py b/nova/tests/__init__.py
index 9ff38e3a97..a8d0ef28c8 100644
--- a/nova/tests/__init__.py
+++ b/nova/tests/__init__.py
@@ -39,7 +39,7 @@ import shutil
from nova.db.sqlalchemy.session import get_engine
from nova import flags
-from nova import log as logging
+from nova.openstack.common import log as logging
import eventlet
@@ -49,7 +49,7 @@ eventlet.monkey_patch(os=False)
FLAGS = flags.FLAGS
FLAGS.use_stderr = False
-logging.setup()
+logging.setup('nova')
_DB = None