oslo.log/oslo_log
Ben Nemec a93c6ef98c 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
2018-08-27 17:44:40 +00:00
..
cmds Fix file permissions 2018-05-03 10:16:08 +01:00
fixture Expose fixtures through oslo_log.fixture 2015-01-30 11:37:42 -05:00
locale Imported Translations from Zanata 2018-03-01 06:25:12 +00:00
tests Filter args dict in JSONFormatter 2018-08-27 17:44:40 +00:00
__init__.py Move files out of the namespace package 2014-12-17 21:43:41 -05:00
_i18n.py Update the documentation link 2017-08-23 15:08:41 +08:00
_options.py Add option to use JSON formatter 2017-11-06 18:52:52 +02:00
formatters.py Filter args dict in JSONFormatter 2018-08-27 17:44:40 +00:00
handlers.py Automatically append reset_color to log lines 2018-06-07 21:26:15 +00:00
helpers.py Fix bug in log_method_call decorator 2017-05-25 14:43:02 +00:00
log.py Add option to use JSON formatter 2017-11-06 18:52:52 +02:00
rate_limit.py Add a filter to rate limit logs 2016-09-19 15:09:43 +02:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:23 -05:00
versionutils.py Add Stein release to versionutils 2018-04-05 14:11:01 +00:00
watchers.py Reduce READ_FREQ and TIMEOUT for watch-file 2016-05-13 02:05:31 -07:00