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]
|
[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
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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__)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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__)
|
||||||
|
Reference in New Issue
Block a user