diff --git a/murano/api/middleware/context.py b/murano/api/middleware/context.py index 25b487af..ce3d3f6f 100644 --- a/murano/api/middleware/context.py +++ b/murano/api/middleware/context.py @@ -13,7 +13,6 @@ # under the License. from oslo_config import cfg -from oslo_log import log as logging from oslo_middleware import request_id as oslo_request_id from murano.common.i18n import _ @@ -27,7 +26,6 @@ context_opts = [ CONF = cfg.CONF CONF.register_opts(context_opts) -LOG = logging.getLogger(__name__) CONF = cfg.CONF diff --git a/murano/api/v1/cloudfoundry/auth.py b/murano/api/v1/cloudfoundry/auth.py index e398418f..68c36da5 100644 --- a/murano/api/v1/cloudfoundry/auth.py +++ b/murano/api/v1/cloudfoundry/auth.py @@ -14,9 +14,7 @@ from keystoneclient.v3 import client from oslo_config import cfg -from oslo_log import log as logging -LOG = logging.getLogger(__name__) CONF = cfg.CONF diff --git a/murano/db/session.py b/murano/db/session.py index 7d7975a4..1ca6fc64 100644 --- a/murano/db/session.py +++ b/murano/db/session.py @@ -19,12 +19,10 @@ from oslo_config import cfg from oslo_db import exception from oslo_db import options from oslo_db.sqlalchemy import session as db_session -from oslo_log import log as logging from oslo_utils import timeutils from murano.db.models import Lock -LOG = logging.getLogger(__name__) CONF = cfg.CONF options.set_defaults(CONF) diff --git a/murano/engine/murano_package.py b/murano/engine/murano_package.py index 85cfcfa8..8589f0de 100644 --- a/murano/engine/murano_package.py +++ b/murano/engine/murano_package.py @@ -17,13 +17,11 @@ import json import os from oslo_config import cfg -from oslo_log import log as logging import yaml from murano.dsl import murano_package CONF = cfg.CONF -LOG = logging.getLogger(__name__) class MuranoPackage(murano_package.MuranoPackage): diff --git a/murano/engine/system/instance_reporter.py b/murano/engine/system/instance_reporter.py index fb3a1cc5..06a011eb 100644 --- a/murano/engine/system/instance_reporter.py +++ b/murano/engine/system/instance_reporter.py @@ -14,14 +14,12 @@ # limitations under the License. from oslo_config import cfg -from oslo_log import log as logging import oslo_messaging as messaging from murano.common import uuidutils from murano.dsl import dsl CONF = cfg.CONF -LOG = logging.getLogger(__name__) UNCLASSIFIED = 0 APPLICATION = 100 diff --git a/murano/engine/system/logger.py b/murano/engine/system/logger.py index c32a389f..bba8bb42 100644 --- a/murano/engine/system/logger.py +++ b/murano/engine/system/logger.py @@ -21,7 +21,6 @@ from yaql.language import yaqltypes from murano.dsl import dsl -LOG = logging.getLogger(__name__) NAME_TEMPLATE = 'applications.{0}' inject_format = specs.inject( diff --git a/murano/engine/system/mistralclient.py b/murano/engine/system/mistralclient.py index 858ed32a..11c674c1 100644 --- a/murano/engine/system/mistralclient.py +++ b/murano/engine/system/mistralclient.py @@ -17,13 +17,10 @@ import json import eventlet -from oslo_log import log as logging from murano.dsl import dsl from murano.dsl import helpers -LOG = logging.getLogger(__name__) - class MistralError(Exception): pass diff --git a/murano/engine/system/status_reporter.py b/murano/engine/system/status_reporter.py index d2ee06ef..057a86ae 100644 --- a/murano/engine/system/status_reporter.py +++ b/murano/engine/system/status_reporter.py @@ -16,14 +16,12 @@ import types from oslo_config import cfg -from oslo_log import log as logging import oslo_messaging as messaging from murano.common import uuidutils from murano.dsl import dsl CONF = cfg.CONF -LOG = logging.getLogger(__name__) @dsl.name('io.murano.system.StatusReporter') diff --git a/murano/engine/system/test_fixture.py b/murano/engine/system/test_fixture.py index d6f38500..6c0fceed 100644 --- a/murano/engine/system/test_fixture.py +++ b/murano/engine/system/test_fixture.py @@ -14,7 +14,6 @@ # limitations under the License. from oslo_config import cfg -from oslo_log import log as logging import testtools @@ -23,7 +22,6 @@ from murano.dsl import helpers CONF = cfg.CONF -LOG = logging.getLogger(__name__) @dsl.name('io.murano.test.TestFixture')