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.openstack.common import service as os_service
|
||||||
from cloudpulse.scenario import base
|
from cloudpulse.scenario import base
|
||||||
import datetime
|
import datetime
|
||||||
import logging
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
|
from oslo_log import log as logging
|
||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
import pytz
|
import pytz
|
||||||
import textwrap
|
import textwrap
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
from cloudpulse.common import exception
|
from cloudpulse.common import exception
|
||||||
from cloudpulse import objects
|
from cloudpulse import objects
|
||||||
import contextlib
|
import contextlib
|
||||||
import logging
|
from oslo_log import log as logging
|
||||||
from oslo_utils import excutils
|
from oslo_utils import excutils
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,6 @@ from __future__ import print_function
|
||||||
import copy
|
import copy
|
||||||
import errno
|
import errno
|
||||||
import gc
|
import gc
|
||||||
import logging
|
|
||||||
import os
|
import os
|
||||||
import pprint
|
import pprint
|
||||||
import socket
|
import socket
|
||||||
|
@ -29,6 +28,7 @@ import traceback
|
||||||
import eventlet.backdoor
|
import eventlet.backdoor
|
||||||
import greenlet
|
import greenlet
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
|
from oslo_log import log as logging
|
||||||
|
|
||||||
from cloudpulse.openstack.common._i18n import _LI
|
from cloudpulse.openstack.common._i18n import _LI
|
||||||
|
|
||||||
|
|
|
@ -15,12 +15,12 @@
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import logging
|
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from eventlet import event
|
from eventlet import event
|
||||||
from eventlet import greenthread
|
from eventlet import greenthread
|
||||||
|
from oslo_log import log as logging
|
||||||
|
|
||||||
from cloudpulse.openstack.common._i18n import _LE, _LW
|
from cloudpulse.openstack.common._i18n import _LE, _LW
|
||||||
|
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import copy
|
import copy
|
||||||
import logging
|
|
||||||
import random
|
import random
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
|
from oslo_log import log as logging
|
||||||
from oslo_utils import reflection
|
from oslo_utils import reflection
|
||||||
import six
|
import six
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
|
|
||||||
import errno
|
import errno
|
||||||
import io
|
import io
|
||||||
import logging
|
|
||||||
import os
|
import os
|
||||||
import random
|
import random
|
||||||
import signal
|
import signal
|
||||||
|
@ -29,6 +28,7 @@ import time
|
||||||
import eventlet
|
import eventlet
|
||||||
from eventlet import event
|
from eventlet import event
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
|
from oslo_log import log as logging
|
||||||
|
|
||||||
from cloudpulse.openstack.common import eventlet_backdoor
|
from cloudpulse.openstack.common import eventlet_backdoor
|
||||||
from cloudpulse.openstack.common._i18n import _LE, _LI, _LW
|
from cloudpulse.openstack.common._i18n import _LE, _LI, _LW
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
Helper module for systemd service readiness notification.
|
Helper module for systemd service readiness notification.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import logging
|
|
||||||
import os
|
import os
|
||||||
import socket
|
import socket
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
from oslo_log import log as logging
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
|
@ -11,12 +11,13 @@
|
||||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
import logging
|
|
||||||
import threading
|
import threading
|
||||||
|
|
||||||
import eventlet
|
import eventlet
|
||||||
from eventlet import greenpool
|
from eventlet import greenpool
|
||||||
|
|
||||||
|
from oslo_log import log as logging
|
||||||
|
|
||||||
from cloudpulse.openstack.common._i18n import _LE
|
from cloudpulse.openstack.common._i18n import _LE
|
||||||
from cloudpulse.openstack.common import loopingcall
|
from cloudpulse.openstack.common import loopingcall
|
||||||
|
|
||||||
|
|
|
@ -20,9 +20,9 @@ Helpers for comparing version strings.
|
||||||
import copy
|
import copy
|
||||||
import functools
|
import functools
|
||||||
import inspect
|
import inspect
|
||||||
import logging
|
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
|
from oslo_log import log as logging
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
import six
|
import six
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue