FWaaS OSC plugin: Use python logging instead of oslo.log
CLI implementation including OSC and neutorn CLI does not consume oslo.log and use python logging directly. At now oslo.log is not included in requirements.txt of both OSC and neutronclient and CLI does not use features provided by oslo.log. Let's use python logging. Change-Id: I81e943fb87567f0e01635888bebf875ea42a4d02 Closes-Bug: #1676295
This commit is contained in:
parent
d32a269575
commit
a7fdab5ccf
@ -12,12 +12,12 @@
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
|
||||
import logging
|
||||
|
||||
from osc_lib.command import command
|
||||
from osc_lib import exceptions
|
||||
from osc_lib import utils
|
||||
from oslo_log import log as logging
|
||||
|
||||
from neutronclient._i18n import _
|
||||
from neutronclient.osc import utils as osc_utils
|
||||
|
@ -16,10 +16,11 @@
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import logging
|
||||
|
||||
from osc_lib.command import command
|
||||
from osc_lib import exceptions
|
||||
from osc_lib import utils
|
||||
from oslo_log import log as logging
|
||||
|
||||
from neutronclient._i18n import _
|
||||
from neutronclient.osc import utils as osc_utils
|
||||
|
@ -14,11 +14,11 @@
|
||||
# under the License.
|
||||
#
|
||||
import copy
|
||||
import logging
|
||||
|
||||
from osc_lib.command import command
|
||||
from osc_lib import exceptions
|
||||
from osc_lib import utils
|
||||
from oslo_log import log as logging
|
||||
|
||||
from neutronclient._i18n import _
|
||||
from neutronclient.common import utils as nc_utils
|
||||
|
Loading…
Reference in New Issue
Block a user