Logging library.
Go to file
Ben Nemec 871d2df290 Filter args dict in JSONFormatter
In most formatters, any unused keys in the args dict will just be
discarded.  Because JSONFormatter logged the entire dict in addition
to the message, some values were included in the output that may
not have been intended.  This could include sensitive data, so we
should stop that.

In the interest of maintaining compatibility with any tools that are
reading the args dict, we leave the dict but filter out any unused
keys.

Change-Id: Ib64837c1ae93a27bef3d30a776320a373f18dd1c
Closes-Bug: 1571714
Closes-Bug: 1787214
(cherry picked from commit a93c6ef98c)
2018-08-30 20:09:06 +00:00
doc/source Fix file permissions 2018-05-03 10:16:08 +01:00
oslo_log Filter args dict in JSONFormatter 2018-08-30 20:09:06 +00:00
playbooks/legacy/oslo.log-src-grenade-devstack Migrate to Zuul v3 2017-10-12 03:46:50 +00:00
releasenotes Imported Translations from Zanata 2018-03-01 06:25:12 +00:00
tools Fix sphinx-docs job 2018-04-27 19:01:50 +02: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/rocky 2018-07-26 12:38:21 +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
.zuul.yaml import zuul job settings from project-config 2018-08-03 18:01:53 -04: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 Add release notes link to README 2018-06-21 13:29:52 +08:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-08-25 14:42:22 -04:00
lower-constraints.txt add lower-constraints job 2018-03-24 21:02:30 -04:00
requirements.txt Updated from global requirements 2018-03-15 07:48:47 +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 2018-03-15 07:48:47 +00:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/rocky 2018-07-26 12:38:23 +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).