commit de615d9370681a2834cebe88acfa81b919da340c
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Nov 11 10:15:58 2022 +0100
Make the eventlet logging fix execution conditional
This patch changes the ``log.setup()`` signature to allow a kwarg
that makes the eventlet logging fix conditional.
Some libraries that import oslo.log, replace the logging locking
handling with its own implementation. For example oslo.privsep
replaces the logging handler with its own one [1], that allows the
communication between the privileged daemon process and the service
importing the library. This local handler clashes with the
evenlet logging fix implemented in [2].
Reviewed: https:/ /review. opendev. org/c/openstack /oslo.log/ +/864252 /opendev. org/openstack/ oslo.log/ commit/ de615d9370681a2 834cebe88acfa81 b919da340c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit de615d9370681a2 834cebe88acfa81 b919da340c
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Nov 11 10:15:58 2022 +0100
Make the eventlet logging fix execution conditional
This patch changes the ``log.setup()`` signature to allow a kwarg
that makes the eventlet logging fix conditional.
Some libraries that import oslo.log, replace the logging locking
handling with its own implementation. For example oslo.privsep
replaces the logging handler with its own one [1], that allows the
communication between the privileged daemon process and the service
importing the library. This local handler clashes with the
evenlet logging fix implemented in [2].
[1]https:/ /github. com/openstack/ oslo.privsep/ blob/1020c6fbf5 4f93cad9fa36b97 bcd9cf75549984a /oslo_privsep/ daemon. py#L579 /review. opendev. org/c/openstack /oslo.log/ +/852443
[2]https:/
Partial-Bug: #1995514 88e61b9084cb02b 2dd2aaa0c76
Related-Bug: #1995091
Change-Id: I4bbcfe7db6d751