Use oslo.log

Convert the use of the incubated version of the log module
to the new oslo.log library.

Sync oslo-incubator modules to update their imports as well.

Co-Authored-By: Doug Hellmann <doug@doughellmann.com>
Change-Id: Ic4932e3f58191869c30bd07a010a6e9fdcb2a12c
This commit is contained in:
Davanum Srinivas
2015-02-09 17:28:19 -05:00
parent 69d0c64361
commit 97d63d8745
287 changed files with 376 additions and 1060 deletions

View File

@@ -16,13 +16,14 @@
import collections
from oslo_log import log as logging
from nova.compute import task_states
from nova.compute import vm_states
from nova import context
from nova import exception
from nova.i18n import _LW
from nova import objects
from nova.openstack.common import log as logging
from nova.pci import device
from nova.pci import stats
from nova.virt import hardware

View File

@@ -40,12 +40,12 @@ import copy
import jsonschema
from oslo_config import cfg
from oslo_log import log as logging
from oslo_serialization import jsonutils
import six
from nova import exception
from nova import objects
from nova.openstack.common import log as logging
from nova.pci import utils
pci_alias_opts = [

View File

@@ -16,9 +16,10 @@
import copy
from oslo_log import log as logging
from nova import exception
from nova.i18n import _LE
from nova.openstack.common import log as logging
from nova.pci import utils
from nova.pci import whitelist

View File

@@ -19,9 +19,10 @@ import glob
import os
import re
from oslo_log import log as logging
from nova import exception
from nova.i18n import _LE
from nova.openstack.common import log as logging
LOG = logging.getLogger(__name__)

View File

@@ -15,11 +15,11 @@
# under the License.
from oslo_config import cfg
from oslo_log import log as logging
from oslo_serialization import jsonutils
from nova import exception
from nova.i18n import _
from nova.openstack.common import log as logging
from nova.pci import devspec
pci_opts = [cfg.MultiStrOpt('pci_passthrough_whitelist',