Switch to oslo_log

Zaqarclient is currently using python logging module to
implement logging functionality.
This patch made a switch to oslo.log(logging for openstack projects)

Reference:-
http://docs.openstack.org/developer/oslo.log

Change-Id: I64d96b5945e985540b2ab88da54153cab147d837
Closes-Bug: #1656167
This commit is contained in:
avnish 2017-01-17 12:59:19 +05:30
parent cb635f50e9
commit cff83ad166
5 changed files with 5 additions and 6 deletions

View File

@ -9,6 +9,7 @@ jsonschema!=2.5.0,<3.0.0,>=2.0.0 # MIT
# Oslo Packages
oslo.i18n>=2.1.0 # Apache-2.0
oslo.log>=3.11.0 # Apache-2.0
oslo.utils>=3.18.0 # Apache-2.0
keystoneauth1>=2.16.0 # Apache-2.0

View File

@ -14,10 +14,8 @@
"""OpenStackClient plugin for Messaging service."""
import logging
from osc_lib import utils
from oslo_log import log as logging
LOG = logging.getLogger(__name__)

View File

@ -13,10 +13,10 @@
# under the License.
import json
import logging
from osc_lib.command import command
from osc_lib import utils
from oslo_log import log as logging
from zaqarclient._i18n import _
from zaqarclient.transport import errors

View File

@ -13,10 +13,10 @@
# under the License.
import json
import logging
from osc_lib.command import command
from osc_lib import utils
from oslo_log import log as logging
from zaqarclient._i18n import _
from zaqarclient.queues.v1 import cli

View File

@ -13,9 +13,9 @@
# under the License.
#
import json
import logging
import uuid
from oslo_log import log as logging
from oslo_utils import importutils
from zaqarclient.transport import base