Replace logging with oslo_log

The oslo.log (logging) configuration library provides standardized
configuration for all openstack projects. It also provides custom
formatters, handlers and support for context specific logging (like
resource id's etc).

I think it's better to use the common logging module.

Change-Id: If7674f12537d478d6f7403f9570b4b41e0a93ccd
This commit is contained in:
howardlee 2016-11-07 16:00:40 +08:00
parent 2a3db90cfb
commit b66d83e506
2 changed files with 2 additions and 1 deletions

View File

@ -14,8 +14,8 @@
# under the License.
import datetime
import logging as log
from oslo_log import log
import six.moves.urllib.parse as urlparse
from osprofiler import _utils

View File

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