Victor Stinner 22bd3d5321 JSONFormatter convert unserializable with repr()
The JSONFormatter formatter now converts unserializable objects with
repr() to prevent JSON serialization errors on logging.

The fix requires oslo.serialization 2.21.1 or newer to get the new
fallback parameter of jsonutils.to_primitive().

Closes-Bug: #1593641
Change-Id: Ibda7d145af95903b2bf8d87113804350330a93b4
2017-10-25 17:18:13 +02:00
2016-12-20 13:10:56 +11:00
2017-10-12 03:46:50 +00:00
2017-04-08 22:52:25 +08:00
2017-03-03 00:03:04 +00:00
2017-01-17 10:27:47 -08:00

Team and repository tags

image

oslo.log -- Oslo Logging Library

Latest Version

Downloads

The oslo.log (logging) configuration library provides standardized configuration for all openstack projects. It also provides custom formatters, handlers and support for context specific logging (like resource id's etc).

Description
Logging library.
Readme 7.4 MiB
Languages
Python 100%