oslo.privsep/oslo_privsep
Rodolfo Alonso Hernandez c2b6df05e0 Setup logging without fixing evenlet logging
Since [1], ``oslo_log.log.setup`` can be called without applying the
fix for eventlet in native threads [2]. This fix clashes with the
oslo.privsep logging handler that replaces the original one. This
handler is implemented to allow the sync between the daemon process
and the process making the privileged call.

Once the oslo.log library version is bumped to 5.0.2, the try clause
can be removed.

[1]https://review.opendev.org/c/openstack/oslo.log/+/864252
[2]https://review.opendev.org/c/openstack/oslo.log/+/852443

Closes-Bug: #1995514
Related-Bug: #1995091
Change-Id: I7a4c55228064cb2dd4f4a359cdd81fd288baaf68
2023-02-08 10:58:08 +01:00
..
functional Add timeout to PrivContext and entrypoint_with_timeout decorator 2021-06-23 09:43:33 +02:00
locale Imported Translations from Zanata 2018-03-01 07:02:35 +00:00
tests Remove logic for Python < 3.8 2022-07-17 01:02:03 +09:00
__init__.py Initial cookiecutter project 2015-10-23 18:51:29 +11:00
_i18n.py Update URLs in documents according to document migration 2017-07-12 23:09:35 +08:00
capabilities.py Avoids calling ffi.dlopen(None) on Windows 2018-08-19 10:42:55 -07:00
comm.py Merge "Add note explaining max_buffer_size value" 2022-04-11 21:59:32 +00:00
daemon.py Setup logging without fixing evenlet logging 2023-02-08 10:58:08 +01:00
priv_context.py Add timeout to PrivContext and entrypoint_with_timeout decorator 2021-06-23 09:43:33 +02:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:22 -05:00