From f51f387b8cb8058a8f5a0c486c256a7a4d79b37d Mon Sep 17 00:00:00 2001 From: Zhongyue Luo Date: Mon, 21 May 2012 15:55:52 +0800 Subject: Cleanup LOG.getLoggers to use __name__ Fixes bug #1002191 Change-Id: I166c6bf535ac097e3e6f64158bde0c7f5448a7b3 --- nova/api/openstack/compute/contrib/extended_server_attributes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nova/api') 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') -- cgit