When a client is created without a logger, novaclient creates a
default logger, but it's then not used, because it's not passed
to the factory function. Because of that, all novaclient calls
are getting logged as 'keystoneauth.session' instead of
'novaclient.v2.client' as they should.
Closes-bug: 1921388
Change-Id: I53caceb08667eb12e27016731868e8015dd10e34
(cherry picked from commit d4399d3d36c456c1001b96178ce9b3e7ec082460)
Reviewed: https:/ /review. opendev. org/c/openstack /python- novaclient/ +/804440 /opendev. org/openstack/ python- novaclient/ commit/ 5ee44275f64fe43 aa4917301a9af63 d81c0db9ee
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 5ee44275f64fe43 aa4917301a9af63 d81c0db9ee
Author: Radomir Dopieralski <email address hidden>
Date: Thu Mar 25 15:08:20 2021 +0100
When creating a client, pass the default logger
When a client is created without a logger, novaclient creates a session' instead of .v2.client' as they should.
default logger, but it's then not used, because it's not passed
to the factory function. Because of that, all novaclient calls
are getting logged as 'keystoneauth.
'novaclient
Closes-bug: 1921388 12e27016731868e 8015dd10e34 1001b96178ce9b3 e7ec082460)
Change-Id: I53caceb08667eb
(cherry picked from commit d4399d3d36c456c