Remove dependency on oslo.log library

There is no need to import oslo.log inside OSProfiler code since
we only use standard Python logging API (refer to
https://docs.openstack.org/oslo.log/latest/user/migration.html#what-do-i-import)

Change-Id: Ib26e896ae61a83484c6a01fba955d1da6d4c15b8
This commit is contained in:
Ilya Shakhat 2017-08-28 17:51:54 +02:00
parent de34c0d29e
commit 8161744ca7
2 changed files with 2 additions and 3 deletions

View File

@ -14,13 +14,13 @@
# under the License.
import datetime
import logging
from oslo_log import log
import six.moves.urllib.parse as urlparse
from osprofiler import _utils
LOG = log.getLogger(__name__)
LOG = logging.getLogger(__name__)
def get_driver(connection_string, *args, **kwargs):

View File

@ -1,5 +1,4 @@
six>=1.9.0 # MIT
oslo.log>=3.11.0 # Apache-2.0
oslo.utils>=3.16.0 # Apache-2.0
WebOb>=1.6.0 # MIT
requests>=2.10.0 # Apache-2.0