Switch to oslo_log

Oslo cache is currently using python logging module to
implement logging functionality.
This patch made a switch to oslo.log(logging for openstack projects)

Reference:-
http://docs.openstack.org/developer/oslo.log

Change-Id: I84d4dde64349a45cc5c38163da107a746faddc77
This commit is contained in:
avnish 2017-01-20 10:45:48 +05:30
parent eeb787db74
commit 61dd30d36d
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,6 @@
import collections
import contextlib
import itertools
import logging
import threading
import time
@ -32,6 +31,7 @@ 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__)

View File

@ -16,11 +16,11 @@
"""dogpile.cache backend that uses Memcached connection pool"""
import functools
import logging
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__)