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:
@@ -1,7 +1,6 @@
|
||||
[DEFAULT]
|
||||
|
||||
# The list of modules to copy from oslo-incubator.git
|
||||
module=log
|
||||
module=versionutils
|
||||
|
||||
|
||||
|
@@ -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__)
|
||||
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
||||
|
@@ -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__)
|
||||
|
Reference in New Issue
Block a user