diff --git a/mistral/actions/base.py b/mistral/actions/base.py index 73275ca4..feca0540 100644 --- a/mistral/actions/base.py +++ b/mistral/actions/base.py @@ -16,10 +16,6 @@ import abc -from oslo_log import log as logging - -LOG = logging.getLogger(__name__) - class Action(object): """Action. diff --git a/mistral/api/controllers/v2/validation.py b/mistral/api/controllers/v2/validation.py index e97b9752..1b7876dd 100644 --- a/mistral/api/controllers/v2/validation.py +++ b/mistral/api/controllers/v2/validation.py @@ -12,16 +12,13 @@ # See the License for the specific language governing permissions and # limitations under the License. -from oslo_log import log as logging + import pecan from pecan import rest from mistral import exceptions as exc -LOG = logging.getLogger(__name__) - - class SpecValidationController(rest.RestController): def __init__(self, parser): diff --git a/mistral/db/sqlalchemy/base.py b/mistral/db/sqlalchemy/base.py index b8fac2f0..16743a6a 100644 --- a/mistral/db/sqlalchemy/base.py +++ b/mistral/db/sqlalchemy/base.py @@ -19,7 +19,6 @@ import six from oslo_config import cfg from oslo_db import options from oslo_db.sqlalchemy import session as db_session -from oslo_log import log as logging import sqlalchemy as sa from mistral.db.sqlalchemy import sqlite_lock @@ -27,8 +26,6 @@ from mistral import exceptions as exc from mistral import utils -LOG = logging.getLogger(__name__) - # Note(dzimine): sqlite only works for basic testing. options.set_defaults(cfg.CONF, connection="sqlite:///mistral.sqlite") diff --git a/mistral/db/v2/api.py b/mistral/db/v2/api.py index 0afedef0..af977966 100644 --- a/mistral/db/v2/api.py +++ b/mistral/db/v2/api.py @@ -16,14 +16,13 @@ import contextlib from oslo_db import api as db_api -from oslo_log import log as logging + _BACKEND_MAPPING = { 'sqlalchemy': 'mistral.db.v2.sqlalchemy.api', } IMPL = db_api.DBAPI('sqlalchemy', backend_mapping=_BACKEND_MAPPING) -LOG = logging.getLogger(__name__) def setup_db():