summaryrefslogtreecommitdiff
path: root/bin/nova-dhcpbridge
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-dhcpbridge
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 'bin/nova-dhcpbridge')
-rwxr-xr-xbin/nova-dhcpbridge4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/nova-dhcpbridge b/bin/nova-dhcpbridge
index d5179d074e..0693ae27a4 100755
--- a/bin/nova-dhcpbridge
+++ b/bin/nova-dhcpbridge
@@ -38,9 +38,9 @@ gettext.install('nova', unicode=1)
from nova import context
from nova import db
from nova import flags
-from nova import log as logging
from nova.network import linux_net
from nova.openstack.common import importutils
+from nova.openstack.common import log as logging
from nova.openstack.common import rpc
from nova import utils
@@ -97,7 +97,7 @@ def main():
"""Parse environment and arguments and call the approproate action."""
flagfile = os.environ.get('FLAGFILE', FLAGS.dhcpbridge_flagfile)
argv = flags.parse_args(sys.argv)
- logging.setup()
+ logging.setup("nova")
if int(os.environ.get('TESTING', '0')):
from nova.tests import fake_flags