commit 1dd72d1d209e699efc360ff99a20166aac831939
Author: Ben Nemec <email address hidden>
Date: Tue Mar 10 17:55:16 2020 +0000
Filter out auth_token_info from logging values
auth_token_info is a common field that subclasses of RequestContext
add. It contains things like the token itself and the entire catalog,
both of which are undesirable to log. The token is a security concern
and the catalog is huge, which bloats the logs an unacceptable amount.
This change removes the auth_token_info key from the logging dict
that we return to the log formatter, which eliminates both problems.
Reviewed: https:/ /review. opendev. org/712146 /git.openstack. org/cgit/ openstack/ oslo.context/ commit/ ?id=1dd72d1d209 e699efc360ff99a 20166aac831939
Committed: https:/
Submitter: Zuul
Branch: master
commit 1dd72d1d209e699 efc360ff99a2016 6aac831939
Author: Ben Nemec <email address hidden>
Date: Tue Mar 10 17:55:16 2020 +0000
Filter out auth_token_info from logging values
auth_token_info is a common field that subclasses of RequestContext
add. It contains things like the token itself and the entire catalog,
both of which are undesirable to log. The token is a security concern
and the catalog is huge, which bloats the logs an unacceptable amount.
This change removes the auth_token_info key from the logging dict
that we return to the log formatter, which eliminates both problems.
Change-Id: If5ebaa3c1859d3 2cd05f51defe173 fc625b21af5
Closes-Bug: 1866705