[openstack-dev] [all] oslo.log 1.0.0 release

Doug Hellmann doug at doughellmann.com
Mon Mar 9 20:16:02 UTC 2015



On Mon, Mar 9, 2015, at 09:21 AM, Doug Hellmann wrote:
> The Oslo team is excited to announce the release of:
> 
> oslo.log 1.0.0: oslo.log library
> 
> For more details, please see the git log history below and:
> 
>     http://launchpad.net/oslo.log/+milestone/1.0.0
> 
> Please report issues through launchpad:
> 
>     http://bugs.launchpad.net/oslo.log
> 
> Notable changes
> ----------------
> 
> We hope to make this the last release of the library for the Kilo cycle.
> 
> Changes in oslo.log 0.4.0..1.0.0
> --------------------------------
> 
> 2142405 Updated from global requirements
> 2bf8164 Make use_syslog=True log to syslog via /dev/log
> cc8d42a update urllib3.util.retry log level to WARN
> 
> Diffstat (except docs and test files)
> -------------------------------------
> 
> oslo_log/_options.py | 2 ++
> oslo_log/log.py      | 6 ++++--
> requirements.txt     | 4 ++--
> 3 files changed, 8 insertions(+), 4 deletions(-)
> 
> 
> Requirements updates
> --------------------
> 
> diff --git a/requirements.txt b/requirements.txt
> index 61a5b83..54ada9b 100644
> --- a/requirements.txt
> +++ b/requirements.txt
> @@ -9,2 +9,2 @@ iso8601>=0.1.9
> -oslo.config>=1.6.0  # Apache-2.0
> -oslo.context>=0.1.0                     # Apache-2.0
> +oslo.config>=1.9.0  # Apache-2.0
> +oslo.context>=0.2.0                     # Apache-2.0
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

The gnocchi team found an issue with this release in their test
environment because their test dependencies ended up mixing the
incubated and library versions of the log code. The symptom is a test
failure with the message:

    DuplicateOptError: duplicate option: default_log_levels

The simplest solution in this case was to update the application to use
the log library instead of the incubated logging code.

If you encounter a similar issue, please check with your Oslo liaison or
in #openstack-oslo if you would like help with updating to use oslo.log.

Doug



More information about the OpenStack-dev mailing list