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:
parent
eda7bc39ac
commit
d0676023e8
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user