summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorZhongyue Luo <lzyeval@gmail.com>2012-05-21 15:55:52 +0800
committerZhongyue Luo <lzyeval@gmail.com>2012-05-21 16:08:47 +0800
commitf51f387b8cb8058a8f5a0c486c256a7a4d79b37d (patch)
treee422b21bb0211b7529b52efc24370ea15cb233a2 /nova/api
parentebf523174f047d5ee727e92e761bc63346bcd1ba (diff)
Cleanup LOG.getLoggers to use __name__
Fixes bug #1002191 Change-Id: I166c6bf535ac097e3e6f64158bde0c7f5448a7b3
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/compute/contrib/extended_server_attributes.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/api/openstack/compute/contrib/extended_server_attributes.py b/nova/api/openstack/compute/contrib/extended_server_attributes.py
index 9b7d5f6db..2da5badc3 100644
--- a/nova/api/openstack/compute/contrib/extended_server_attributes.py
+++ b/nova/api/openstack/compute/contrib/extended_server_attributes.py
@@ -27,8 +27,7 @@ from nova import log as logging
FLAGS = flags.FLAGS
-LOG = logging.getLogger("nova.api.openstack.compute.contrib."
- "extended_server_attributes")
+LOG = logging.getLogger(__name__)
authorize = extensions.soft_extension_authorizer('compute',
'extended_server_attributes')