diff --git a/almanach/collector/main.py b/almanach/collector/main.py index 80a5a61..15092f5 100644 --- a/almanach/collector/main.py +++ b/almanach/collector/main.py @@ -21,8 +21,6 @@ from almanach.collector import service as collector_service from almanach.core import factory as core_factory from almanach.core import opts -LOG = logging.getLogger(__name__) - def main(): opts.CONF(sys.argv[1:], project=opts.DOMAIN) diff --git a/almanach/core/controllers/application_controller.py b/almanach/core/controllers/application_controller.py index ba578b4..d003dfe 100644 --- a/almanach/core/controllers/application_controller.py +++ b/almanach/core/controllers/application_controller.py @@ -12,13 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -from oslo_log import log from pkg_resources import get_distribution from almanach.core.controllers import base_controller -LOG = log.getLogger(__name__) - class ApplicationController(base_controller.BaseController): diff --git a/almanach/core/controllers/base_controller.py b/almanach/core/controllers/base_controller.py index 6a85aac..3abeeed 100644 --- a/almanach/core/controllers/base_controller.py +++ b/almanach/core/controllers/base_controller.py @@ -16,13 +16,10 @@ import abc from dateutil import parser as date_parser import six -from oslo_log import log import pytz from almanach.core import exception -LOG = log.getLogger(__name__) - @six.add_metaclass(abc.ABCMeta) class BaseController(object): diff --git a/almanach/core/opts.py b/almanach/core/opts.py index e757dc4..1f7ae93 100644 --- a/almanach/core/opts.py +++ b/almanach/core/opts.py @@ -15,7 +15,6 @@ from oslo_config import cfg from oslo_log import log as logging -LOG = logging.getLogger(__name__) CONF = cfg.CONF DOMAIN = 'almanach' diff --git a/almanach/storage/drivers/mongodb_driver.py b/almanach/storage/drivers/mongodb_driver.py index 83ba98f..e7548bf 100644 --- a/almanach/storage/drivers/mongodb_driver.py +++ b/almanach/storage/drivers/mongodb_driver.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from oslo_log import log import pymongo from almanach.core import exception @@ -20,8 +19,6 @@ from almanach.core import model from almanach.core.model import get_entity_from_dict from almanach.storage.drivers import base_driver -LOG = log.getLogger(__name__) - class MongoDbDriver(base_driver.BaseDriver):