We are pumped to announce the release of: oslo.log 3.27.0: oslo.log library This release is part of the pike release series. The source is available from: https://git.openstack.org/cgit/openstack/oslo.log Download the package from: https://pypi.python.org/pypi/oslo.log Please report issues through launchpad: https://bugs.launchpad.net/oslo.log For more details, please see below. 3.27.0 ^^^^^^ New Features * If the log format string includes "%(error_summary)s", it will be replaced with a summary of the current error when there is one and with ""-"" when there is no error. If the log format string does not include "%(error_summary)s" the error summary will be appended to the end of the line automatically, only if there is an error. Changes in oslo.log 3.26.1..3.27.0 ---------------------------------- a1b924d Updated from global requirements 76e8bb1 clarify release note for error summary handling 3ecd5c9 fix test description comment e568abd Updated from global requirements da55f6f Oslo i18n 3.15.2 has broken deps a7dbfa3 Remove deprecated module loggers 39a974d Updated from global requirements 2663df2 add line number information to fluentd formatter 9ccd0dc add error_summary support for fluentd formatter c06db3c add error_summary support to JSONFormatter b9f339e refactor error summary logic so it can be reused 0defdcf improve the documentation for log format strings 0caffbd skip built-in exceptions when adding error_summary 426aae5 make handling of error_summary more flexible 48d284a add exception summaries to the main log line 84341f6 Updated from global requirements Diffstat (except docs and test files) ------------------------------------- oslo_log/formatters.py | 93 ++++++++++++-- oslo_log/log.py | 5 +- oslo_log/loggers.py | 29 ----- .../always-add-error-text-715022964364ffa0.yaml | 9 ++ requirements.txt | 4 +- test-requirements.txt | 4 +- 8 files changed, 352 insertions(+), 68 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 9d9427c..9cddaa8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,2 +8,2 @@ oslo.config>=3.22.0 # Apache-2.0 -oslo.context>=2.12.0 # Apache-2.0 -oslo.i18n>=2.1.0 # Apache-2.0 +oslo.context>=2.14.0 # Apache-2.0 +oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 60af642..3e4219d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -16 +16 @@ oslotest>=1.10.0 # Apache-2.0 -coverage>=4.0 # Apache-2.0 +coverage!=4.4,>=4.0 # Apache-2.0 @@ -19 +19 @@ coverage>=4.0 # Apache-2.0 -sphinx>=1.5.1 # BSD +sphinx!=1.6.1,>=1.5.1 # BSD