diff --git a/astara/api/config/common.py b/astara/api/config/common.py index f4f5f5a3..625f5545 100644 --- a/astara/api/config/common.py +++ b/astara/api/config/common.py @@ -17,10 +17,6 @@ import re -from oslo_log import log as logging - -LOG = logging.getLogger(__name__) - SERVICE_STATIC = 'static' diff --git a/astara/cli/resource.py b/astara/cli/resource.py index a81a37b9..c2a4d65f 100644 --- a/astara/cli/resource.py +++ b/astara/cli/resource.py @@ -23,9 +23,6 @@ from astara import commands from novaclient import exceptions from oslo_config import cfg -from oslo_log import log as logging - -LOG = logging.getLogger(__name__) class _TenantResourceCmd(message.MessageSending): diff --git a/astara/common/config.py b/astara/common/config.py index 770f558d..1a443b93 100644 --- a/astara/common/config.py +++ b/astara/common/config.py @@ -18,8 +18,6 @@ from oslo_config import cfg from oslo_log import log -LOG = log.getLogger(__name__) - PREFERRED_CONFIG_FILEPATH = '/etc/astara/orchestrator.ini' SEARCH_DIRS = ['/etc/astara', '/etc/akanda-rug', '/etc/akanda'] LEGACY_FILE_MAP = { diff --git a/astara/db/sqlalchemy/api.py b/astara/db/sqlalchemy/api.py index d7b5a8ba..476f7c83 100644 --- a/astara/db/sqlalchemy/api.py +++ b/astara/db/sqlalchemy/api.py @@ -20,13 +20,11 @@ from oslo_config import cfg from oslo_db import exception as db_exc from oslo_db.sqlalchemy import session as db_session -from oslo_log import log from astara.db import api from astara.db.sqlalchemy import models CONF = cfg.CONF -LOG = log.getLogger(__name__) _FACADE = None diff --git a/astara/test/unit/test_instance_manager.py b/astara/test/unit/test_instance_manager.py index 869c056f..bc4ccaf7 100644 --- a/astara/test/unit/test_instance_manager.py +++ b/astara/test/unit/test_instance_manager.py @@ -15,8 +15,6 @@ # License for the specific language governing permissions and limitations # under the License. -import logging - import mock import unittest2 as unittest from datetime import datetime, timedelta @@ -32,8 +30,6 @@ from oslo_config import cfg states.RETRY_DELAY = 0.4 states.BOOT_WAIT = 1 -LOG = logging.getLogger(__name__) - class FakeModel(object): def __init__(self, id_, **kwargs):