Merge "Moving to oslo_log from python logging module"
This commit is contained in:
commit
2266b77f87
@ -19,8 +19,8 @@ from cloudpulse import objects
|
||||
from cloudpulse.openstack.common import service as os_service
|
||||
from cloudpulse.scenario import base
|
||||
import datetime
|
||||
import logging
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import importutils
|
||||
import pytz
|
||||
import textwrap
|
||||
|
@ -14,7 +14,7 @@
|
||||
from cloudpulse.common import exception
|
||||
from cloudpulse import objects
|
||||
import contextlib
|
||||
import logging
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import excutils
|
||||
import time
|
||||
|
||||
|
@ -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_log import log as logging
|
||||
|
||||
from cloudpulse.openstack.common._i18n import _LI
|
||||
|
||||
|
@ -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 cloudpulse.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
|
||||
from oslo_utils import reflection
|
||||
import six
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
import errno
|
||||
import io
|
||||
import logging
|
||||
import os
|
||||
import random
|
||||
import signal
|
||||
@ -29,6 +28,7 @@ import time
|
||||
import eventlet
|
||||
from eventlet import event
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
|
||||
from cloudpulse.openstack.common import eventlet_backdoor
|
||||
from cloudpulse.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,12 +11,13 @@
|
||||
# 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 cloudpulse.openstack.common._i18n import _LE
|
||||
from cloudpulse.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