Stop using oslo logging

Using oslo logging in the library is causing duplicate option errors
in tempest. Instead this commit switches to the stdlib python logging
module.
This commit is contained in:
Matthew Treinish
2014-08-28 23:00:38 -04:00
parent 66a9370b74
commit b6596013d9
4 changed files with 3 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
[DEFAULT] [DEFAULT]
# The list of modules to copy from oslo-incubator.git # The list of modules to copy from oslo-incubator.git
module=log
module=versionutils module=versionutils

View File

@@ -13,6 +13,7 @@
# 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 os import os
import sys import sys
@@ -20,8 +21,6 @@ import fixtures
import testresources import testresources
import testtools import testtools
from tempest_lib.openstack.common import log as logging
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@@ -14,6 +14,7 @@
# under the License. # under the License.
import functools import functools
import logging
import os import os
import shlex import shlex
import subprocess import subprocess
@@ -23,7 +24,6 @@ import testtools
from tempest_lib import base from tempest_lib import base
import tempest_lib.cli.output_parser import tempest_lib.cli.output_parser
from tempest_lib import exceptions from tempest_lib import exceptions
from tempest_lib.openstack.common import log as logging
from tempest_lib.openstack.common import versionutils from tempest_lib.openstack.common import versionutils

View File

@@ -15,10 +15,10 @@
"""Collection of utilities for parsing CLI clients output.""" """Collection of utilities for parsing CLI clients output."""
import logging
import re import re
from tempest_lib import exceptions from tempest_lib import exceptions
from tempest_lib.openstack.common import log as logging
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)