commit a93c6ef98c8aeddc5a4ae87083689225fbc728bb
Author: Ben Nemec <email address hidden>
Date: Mon Aug 27 17:44:40 2018 +0000
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.
Reviewed: https:/ /review. openstack. org/596850 /git.openstack. org/cgit/ openstack/ oslo.log/ commit/ ?id=a93c6ef98c8 aeddc5a4ae87083 689225fbc728bb
Committed: https:/
Submitter: Zuul
Branch: master
commit a93c6ef98c8aedd c5a4ae870836892 25fbc728bb
Author: Ben Nemec <email address hidden>
Date: Mon Aug 27 17:44:40 2018 +0000
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: Ib64837c1ae93a2 7bef3d30a776320 a373f18dd1c
Closes-Bug: 1571714
Closes-Bug: 1787214