Changing logging to oslo_log

The oslo.log lib provides standardized log functions for all opentack
projects. It is better to use the common logging module instead of logging

Change-Id: I7faa95c58a83f76cc72f65edabd57034641a6377
This commit is contained in:
caishan 2018-02-01 19:02:54 -08:00
parent 39bd90d80a
commit 2b4f887c93
7 changed files with 7 additions and 7 deletions

View File

@ -16,8 +16,8 @@
import copy
import json
import logging
import os
from oslo_log import log as logging
import socket
import ssl

View File

@ -18,8 +18,8 @@
import errno
import fcntl
import logging
import os
from oslo_log import log as logging
import select
import signal
import six

View File

@ -11,7 +11,7 @@
# under the License.
import argparse
import logging
from oslo_log import log as logging
from osc_lib import utils

View File

@ -13,8 +13,8 @@
import argparse
from contextlib import closing
import io
import logging
import os
from oslo_log import log as logging
import tarfile
import time

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
from oslo_log import log as logging
from osc_lib.command import command
from osc_lib import utils

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
from oslo_log import log as logging
from osc_lib.command import command
from osc_lib import utils

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
from oslo_log import log as logging
from osc_lib.command import command
from osc_lib import utils