diff --git a/heat/engine/clients/os/glance.py b/heat/engine/clients/os/glance.py index dac362e56f..f12f113513 100644 --- a/heat/engine/clients/os/glance.py +++ b/heat/engine/clients/os/glance.py @@ -13,7 +13,6 @@ from glanceclient import client as gc from glanceclient import exc -from oslo_log import log as logging from oslo_utils import uuidutils from heat.common import exception @@ -21,8 +20,6 @@ from heat.common.i18n import _ from heat.engine.clients import client_plugin from heat.engine import constraints -LOG = logging.getLogger(__name__) - class GlanceClientPlugin(client_plugin.ClientPlugin): diff --git a/heat/engine/clients/os/sahara.py b/heat/engine/clients/os/sahara.py index a9442c518d..87205dd1bd 100644 --- a/heat/engine/clients/os/sahara.py +++ b/heat/engine/clients/os/sahara.py @@ -13,8 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import logging - from oslo_utils import uuidutils from saharaclient.api import base as sahara_base from saharaclient import client as sahara_client @@ -25,8 +23,6 @@ from heat.common.i18n import _ from heat.engine.clients import client_plugin from heat.engine import constraints -LOG = logging.getLogger(__name__) - class SaharaClientPlugin(client_plugin.ClientPlugin): diff --git a/heat/engine/resources/aws/autoscaling/scaling_policy.py b/heat/engine/resources/aws/autoscaling/scaling_policy.py index 2272eea7ad..b00d4b15ba 100644 --- a/heat/engine/resources/aws/autoscaling/scaling_policy.py +++ b/heat/engine/resources/aws/autoscaling/scaling_policy.py @@ -11,7 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. -from oslo_log import log as logging import six from heat.common import exception @@ -22,8 +21,6 @@ from heat.engine import properties from heat.engine.resources.openstack.heat import scaling_policy as heat_sp from heat.scaling import scalingutil as sc_util -LOG = logging.getLogger(__name__) - class AWSScalingPolicy(heat_sp.AutoScalingPolicy): PROPERTIES = ( diff --git a/heat/engine/resources/openstack/heat/software_config.py b/heat/engine/resources/openstack/heat/software_config.py index ca350f11bf..65dc03ee8e 100644 --- a/heat/engine/resources/openstack/heat/software_config.py +++ b/heat/engine/resources/openstack/heat/software_config.py @@ -11,7 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. -from oslo_log import log as logging from heat.common.i18n import _ from heat.engine import attributes @@ -21,8 +20,6 @@ from heat.engine import resource from heat.engine import support from heat.rpc import api as rpc_api -LOG = logging.getLogger(__name__) - class SoftwareConfig(resource.Resource): """A resource for describing and storing software configuration. diff --git a/heat/engine/resources/openstack/neutron/qos.py b/heat/engine/resources/openstack/neutron/qos.py index 1101869739..3f7a1659ca 100644 --- a/heat/engine/resources/openstack/neutron/qos.py +++ b/heat/engine/resources/openstack/neutron/qos.py @@ -11,7 +11,6 @@ # License for the specific language governing permissions and limitations # under the License. -from oslo_log import log as logging from heat.common.i18n import _ from heat.engine import attributes @@ -20,8 +19,6 @@ from heat.engine import properties from heat.engine.resources.openstack.neutron import neutron from heat.engine import support -LOG = logging.getLogger(__name__) - class QoSPolicy(neutron.NeutronResource): """A resource for Neutron QoS Policy. diff --git a/heat/engine/template.py b/heat/engine/template.py index 2121449fa8..96fb075981 100644 --- a/heat/engine/template.py +++ b/heat/engine/template.py @@ -17,7 +17,6 @@ import copy import functools import hashlib -from oslo_log import log as logging import six from stevedore import extension @@ -26,8 +25,6 @@ from heat.common.i18n import _ from heat.engine import environment from heat.objects import raw_template as template_object -LOG = logging.getLogger(__name__) - __all__ = ['Template'] diff --git a/heat/tests/convergence/framework/fake_resource.py b/heat/tests/convergence/framework/fake_resource.py index b5176e836e..32d7466002 100644 --- a/heat/tests/convergence/framework/fake_resource.py +++ b/heat/tests/convergence/framework/fake_resource.py @@ -16,9 +16,6 @@ from heat.common.i18n import _ from heat.engine import attributes from heat.engine import properties from heat.engine import resource -from oslo_log import log as logging - -LOG = logging.getLogger(__name__) class TestResource(resource.Resource): diff --git a/heat/tests/convergence/framework/testutils.py b/heat/tests/convergence/framework/testutils.py index 43b37687b8..90a6aa9047 100644 --- a/heat/tests/convergence/framework/testutils.py +++ b/heat/tests/convergence/framework/testutils.py @@ -12,13 +12,10 @@ # under the License. import functools -from oslo_log import log as logging from heat.tests.convergence.framework import reality from heat.tests.convergence.framework import scenario_template -LOG = logging.getLogger(__name__) - def verify(test, reality, tmpl): for name in tmpl.resources: