Switch to oslo_log
Change-Id: Ie2e5186d6477649a322398f53ff33b958c81667f
This commit is contained in:
parent
fe57ffdb4e
commit
45b1d22e9f
@ -16,7 +16,6 @@
|
||||
|
||||
|
||||
import functools
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
@ -24,6 +23,7 @@ import time
|
||||
from glanceclient import client
|
||||
from glanceclient import exc as glance_exc
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
import sendfile
|
||||
import six
|
||||
import six.moves.urllib.parse as urlparse
|
||||
|
@ -16,10 +16,10 @@
|
||||
|
||||
import copy
|
||||
import itertools
|
||||
import logging
|
||||
import random
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
from oslo_serialization import jsonutils
|
||||
from oslo_utils import timeutils
|
||||
from oslo_utils import uuidutils
|
||||
|
@ -19,7 +19,6 @@ from __future__ import print_function
|
||||
import copy
|
||||
import errno
|
||||
import gc
|
||||
import logging
|
||||
import os
|
||||
import pprint
|
||||
import socket
|
||||
@ -29,6 +28,7 @@ import traceback
|
||||
import eventlet.backdoor
|
||||
import greenlet
|
||||
from oslo_config import cfg
|
||||
from oslo_logging import log as logging
|
||||
|
||||
from iotronic.openstack.common._i18n import _LI
|
||||
|
||||
|
@ -15,12 +15,12 @@
|
||||
|
||||
import contextlib
|
||||
import errno
|
||||
import logging
|
||||
import os
|
||||
import stat
|
||||
import tempfile
|
||||
|
||||
from oslo_utils import excutils
|
||||
from oslo_log import log as logging
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
@ -15,12 +15,12 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
import sys
|
||||
import time
|
||||
|
||||
from eventlet import event
|
||||
from eventlet import greenthread
|
||||
from oslo_log import log as logging
|
||||
|
||||
from iotronic.openstack.common._i18n import _LE, _LW
|
||||
|
||||
|
@ -12,11 +12,11 @@
|
||||
# under the License.
|
||||
|
||||
import copy
|
||||
import logging
|
||||
import random
|
||||
import time
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
import six
|
||||
|
||||
from iotronic.openstack.common._i18n import _, _LE, _LI
|
||||
|
@ -18,7 +18,6 @@
|
||||
"""Generic Node base class for all workers that run on hosts."""
|
||||
|
||||
import errno
|
||||
import logging
|
||||
import os
|
||||
import random
|
||||
import signal
|
||||
@ -36,6 +35,7 @@ except ImportError:
|
||||
import eventlet
|
||||
from eventlet import event
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
|
||||
from iotronic.openstack.common import eventlet_backdoor
|
||||
from iotronic.openstack.common._i18n import _LE, _LI, _LW
|
||||
|
@ -16,11 +16,11 @@
|
||||
Helper module for systemd service readiness notification.
|
||||
"""
|
||||
|
||||
import logging
|
||||
import os
|
||||
import socket
|
||||
import sys
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
@ -11,11 +11,11 @@
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
import logging
|
||||
import threading
|
||||
|
||||
import eventlet
|
||||
from eventlet import greenpool
|
||||
from oslo_log import log as logging
|
||||
|
||||
from iotronic.openstack.common import loopingcall
|
||||
|
||||
|
@ -20,9 +20,9 @@ Helpers for comparing version strings.
|
||||
import copy
|
||||
import functools
|
||||
import inspect
|
||||
import logging
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
import pkg_resources
|
||||
import six
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user