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]
# The list of modules to copy from oslo-incubator.git
module=log
module=versionutils

View File

@@ -13,6 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
import os
import sys
@@ -20,8 +21,6 @@ import fixtures
import testresources
import testtools
from tempest_lib.openstack.common import log as logging
LOG = logging.getLogger(__name__)

View File

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

View File

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