Comment 5 for bug 1866705

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.context (master)

Reviewed: https://review.opendev.org/712146
Committed: https://git.openstack.org/cgit/openstack/oslo.context/commit/?id=1dd72d1d209e699efc360ff99a20166aac831939
Submitter: Zuul
Branch: master

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.

    Change-Id: If5ebaa3c1859d32cd05f51defe173fc625b21af5
    Closes-Bug: 1866705