oslo.log/releasenotes/notes/jsonformatter-repr-fd616eb6fa6caeb3.yaml
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

7 lines
222 B
YAML

---
fixes:
- |
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. (Bug #1593641)