oslo.log/oslo_log
Rodolfo Alonso Hernandez de615d9370 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]1020c6fbf5/oslo_privsep/daemon.py (L579)
[2]https://review.opendev.org/c/openstack/oslo.log/+/852443

Partial-Bug: #1995514
Related-Bug: #1995091
Change-Id: I4bbcfe7db6d75188e61b9084cb02b2dd2aaa0c76
2022-11-14 16:59:12 +00:00
..
cmds Ussuri+ is python3 only 2021-05-06 09:25:46 +08:00
fixture Expose fixtures through oslo_log.fixture 2015-01-30 11:37:42 -05:00
locale Imported Translations from Zanata 2020-04-16 06:14:33 +00:00
tests Fix logging in eventlet native threads 2022-08-08 17:09:50 +02:00
__init__.py Move files out of the namespace package 2014-12-17 21:43:41 -05:00
_i18n.py Update the documentation link 2017-08-23 15:08:41 +08:00
_options.py Merge "Log Global Request IDs by default" 2022-04-26 12:21:47 +00:00
formatters.py [Fix] init global_request_id if not in context 2022-05-11 11:19:32 +02:00
handlers.py Default facility to None in OSJournalHandler class 2020-06-01 17:58:33 -04:00
helpers.py Fix bug in log_method_call decorator 2017-05-25 14:43:02 +00:00
log.py Make the eventlet logging fix execution conditional 2022-11-14 16:59:12 +00:00
pipe_mutex.py Fix logging in eventlet native threads 2022-08-08 17:09:50 +02:00
rate_limit.py Remove monotonic usage 2020-05-04 17:26:30 -05:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:23 -05:00
versionutils.py Add Zed in versionutils 2022-03-11 03:15:09 +05:30
watchers.py Reduce READ_FREQ and TIMEOUT for watch-file 2016-05-13 02:05:31 -07:00