Debugging the call to Debugf shows it's being called as Debugf("%s", "... logs that should be redacted ..."). Our previous redaction only ran on the format string, and not the rest of the args. This moves the redaction to run on the final logged output.
Debugging the call to
Debugf
shows it's being called asDebugf("%s", "... logs that should be redacted ...")
. Our previous redaction only ran on the format string, and not the rest of the args. This moves the redaction to run on the final logged output.Fix #521. Replace #523.