Enable split logging for cinder-novaclient interaction

This patch ensures that log messages[1][2][3] are logged only when
keystoneauth=DEBUG is enabled in cinder.conf. This will also enable
us to consume split_logger config option [4] when enabled in cinder
without making any additional changes in client code.

[1] REQ: https://review.openstack.org/#/c/505764/8/keystoneauth1/session.py@391
[2] RESP: https://review.openstack.org/#/c/505764/8/keystoneauth1/session.py@422
[3] RESP BODY: https://review.openstack.org/#/c/505764/8/keystoneauth1/session.py@454
[4] https://review.openstack.org/#/c/568878/

Closes-Bug: #1782134
Change-Id:I3c47b5249141b3f05b2f54984bb5b1d7801a02bc
This commit is contained in:
openstack 2018-07-25 17:38:57 +05:30
parent c2d0fb7098
commit 05e287fa9f
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ jsonpatch==1.16
jsonpointer==1.13
jsonschema==2.6.0
keyring==5.5.1
keystoneauth1==3.4.0
keystoneauth1==3.5.0
kombu==4.0.0
linecache2==1.0.0
MarkupSafe==1.0

View File

@ -206,7 +206,7 @@ class Client(object):
endpoint_type=endpoint_type,
http_log_debug=http_log_debug,
insecure=insecure,
logger=self.logger,
logger=logger,
os_cache=self.os_cache,
password=password,
project_domain_id=project_domain_id,

View File

@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
pbr!=2.1.0,>=2.0.0 # Apache-2.0
keystoneauth1>=3.4.0 # Apache-2.0
keystoneauth1>=3.5.0 # Apache-2.0
iso8601>=0.1.11 # MIT
oslo.i18n>=3.15.3 # Apache-2.0
oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0