Logging library.
Go to file
Victor Stinner 30e209e0e3 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.20.2 or newer to get the new
fallback parameter of jsonutils.to_primitive().

Backport/cherry-pick note: 2.21.1 replaced with 2.20.2.

Closes-Bug: #1593641
Change-Id: Ibda7d145af95903b2bf8d87113804350330a93b4
(cherry picked from commit 22bd3d5321)
2017-12-15 17:49:46 +01:00
doc/source Add missing variable html_last_updated_fmt 2017-07-11 22:44:42 +08:00
oslo_log JSONFormatter convert unserializable with repr() 2017-12-15 17:49:46 +01:00
releasenotes JSONFormatter convert unserializable with repr() 2017-12-15 17:49:46 +01:00
tools Add Constraints support 2016-12-20 13:10:56 +11:00
.coveragerc Fix coverage configuration and execution 2015-10-05 17:22:34 -04:00
.gitignore Merge "Add reno for release notes management" 2016-02-18 20:49:12 +00:00
.gitreview Update .gitreview for stable/pike 2017-07-28 21:04:55 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-08-25 14:42:22 -04:00
.testr.conf Move files out of the namespace package 2014-12-17 21:43:41 -05:00
CONTRIBUTING.rst Optimize the link address 2017-04-08 22:52:25 +08:00
HACKING.rst Update URLs according to document migration 2017-07-11 22:46:53 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-08-25 14:42:22 -04:00
README.rst Update URLs according to document migration 2017-07-11 22:46:53 +08:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-08-25 14:42:22 -04:00
requirements.txt Updated from global requirements 2017-07-18 01:54:49 +00:00
setup.cfg Update URLs according to document migration 2017-07-11 22:46:53 +08:00
setup.py Updated from global requirements 2017-03-03 00:03:04 +00:00
test-requirements.txt Updated from global requirements 2017-08-11 19:04:02 +00:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/pike 2017-07-28 21:04:56 +00:00

README.rst

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).