summaryrefslogtreecommitdiffstats
path: root/bin/nova-cert
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 /bin/nova-cert
parent2038e933bd8bde659e31b4a78e2211a585e3dcec (diff)
downloadnova-d335457f48d09c3d780c92413fe777030c1335e2.tar.gz
nova-d335457f48d09c3d780c92413fe777030c1335e2.tar.xz
nova-d335457f48d09c3d780c92413fe777030c1335e2.zip
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 'bin/nova-cert')
-rwxr-xr-xbin/nova-cert4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/nova-cert b/bin/nova-cert
index a845c1055..81189492a 100755
--- a/bin/nova-cert
+++ b/bin/nova-cert
@@ -33,13 +33,13 @@ if os.path.exists(os.path.join(POSSIBLE_TOPDIR, 'nova', '__init__.py')):
from nova import flags
-from nova import log as logging
+from nova.openstack.common import log as logging
from nova import service
from nova import utils
if __name__ == '__main__':
flags.parse_args(sys.argv)
- logging.setup()
+ logging.setup("nova")
utils.monkey_patch()
server = service.Service.create(binary='nova-cert')
service.serve(server)