Replace logging with oslo_log

Some modules are still using logging, this
patch is going to replace it.

Change-Id: Id79913376b946f4aff1be6a24b7c95dc21fc28cf
This commit is contained in:
Xi Yang 2016-01-09 23:24:25 +08:00
parent eda7bc39ac
commit d0676023e8
5 changed files with 5 additions and 9 deletions

View File

@ -13,11 +13,11 @@
# under the License.
"""The Volume Image Metadata API extension."""
import logging
import six
import webob
from oslo_log import log as logging
from cinder.api import common
from cinder.api import extensions
from cinder.api.openstack import wsgi

View File

@ -16,7 +16,7 @@
"""
Filter support
"""
import logging
from oslo_log import log as logging
from cinder.openstack.common._i18n import _LI
from cinder.scheduler import base_handler

View File

@ -13,8 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
from oslo_log import log as logging
import six
from cinder.scheduler import filters

View File

@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
from oslo_log import log as logging
from cinder.scheduler import filters

View File

@ -17,8 +17,6 @@
Utility functions related to the Zone Manager.
"""
import logging
from oslo_log import log
from cinder.i18n import _LI, _LW
@ -28,7 +26,6 @@ from cinder.zonemanager import fc_san_lookup_service
from cinder.zonemanager import fc_zone_manager
LOG = log.getLogger(__name__)
LOG.logger.setLevel(logging.DEBUG)
def create_zone_manager():