Remove unused/duplicated logging import

Change-Id: I6a59a145a3381f62e491d7f66bfd462a3c12bf06
This commit is contained in:
Anh Tran 2017-02-17 13:40:27 +07:00 committed by ChangBo Guo(gcb)
parent b47ed142e9
commit 5fed740b66
2 changed files with 1 additions and 6 deletions

View File

@ -31,7 +31,6 @@ from six.moves import zip
from oslo_cache._i18n import _
from oslo_cache import exception
from oslo_log import log as logging
LOG = log.getLogger(__name__)
@ -116,7 +115,7 @@ class ConnectionPool(queue.Queue):
LOG.log(level, prefix + msg, *args, **kwargs)
def _debug_logger(self, msg, *args, **kwargs):
self._do_log(logging.DEBUG, msg, *args, **kwargs)
self._do_log(log.DEBUG, msg, *args, **kwargs)
def _trace_logger(self, msg, *args, **kwargs):
self._do_log(log.TRACE, msg, *args, **kwargs)

View File

@ -20,10 +20,6 @@ import functools
from dogpile.cache.backends import memcached as memcached_backend
from oslo_cache import _memcache_pool
from oslo_log import log as logging
LOG = logging.getLogger(__name__)
# Helper to ease backend refactoring