We enthusiastically announce the release of: oslo.log 6.1.0: oslo.log library This release is part of the dalmatian release series. The source is available from: https://opendev.org/openstack/oslo.log Download the package from: https://pypi.org/project/oslo.log Please report issues through: https://bugs.launchpad.net/oslo.log/+bugs For more details, please see below. 6.1.0 ^^^^^ New Features ************ * The new "log_color" option has been added. When this option is set to "False", color keys are not set. Bug Fixes ********* * Remove the usage of the Eventlet debug feature from oslo.log Then hub_prevent_multiple_readers is a debug convenience. This feature is a debug convenience. The problem with disabling this procedure is that it exposes you to risks (https://eventlet.readthedocs.io/en/la test/reference/api/eventlet.html#eventlet.debug.hub_prevent_multipl e_readers). Deactivation applies to the entire stack. If a project uses oslo.log, for example nova, then it exposes all threads to concurrent access on the process file descriptors. When several greenlets are reading from the same socket, it's difficult to predict which greenlet will receive which data. That services using oslo.log should prefer using tpool rather than un-monkey patched version of stdlib threading module which is not compatible with eventlet. Changes in oslo.log 6.0.0..6.1.0 -------------------------------- 60c39a3 Replace deprecated logging.warn() calls with logging.warning() 9c717f1 add a missing link to the release note 8705f67 Remove the usage of the Eventlet debug feature from oslo.log. cdda78e Add option to disable color Diffstat (except docs and test files) ------------------------------------- oslo_log/_options.py | 5 +++++ oslo_log/log.py | 12 ++++++++---- oslo_log/pipe_mutex.py | 15 --------------- releasenotes/notes/log_color-531437cab4477bcb.yaml | 5 +++++ ...b_prevent_multiple_readers-usage-b23cea69a05cd6d4.yaml | 14 ++++++++++++++ 7 files changed, 40 insertions(+), 33 deletions(-)
participants (1)
-
no-reply@openstack.org