Merge "Stop using deprecated version of enable_logging"

This commit is contained in:
Zuul 2018-10-16 00:23:56 +00:00 committed by Gerrit Code Review
commit 042ce37bde
1 changed files with 2 additions and 2 deletions

View File

@ -16,9 +16,9 @@ SDK Client
import sys
import functools
import openstack
from openstack import connection
from openstack import exceptions as sdk_exc
from openstack import utils as sdk_utils
from oslo_config import cfg
from oslo_log import log as logging
from oslo_serialization import jsonutils
@ -32,7 +32,7 @@ USER_AGENT = 'senlin'
exc = sdk_exc
LOG = logging.getLogger(__name__)
sdk_utils.enable_logging(debug=False, stream=sys.stdout)
openstack.enable_logging(debug=False, stream=sys.stdout)
def parse_exception(ex):