Strips away headers and values. I'd like to recommend we replace the value with 'REDACTED' instead as we may be missing valuable context when troubleshooting issues. For example: request with an authorization header and one without are 2 totally different problems. When we strip it away in the logs, was it ever there...
Currently
removeSensitiveData
: https://github.com/TryGhost/Ignition/blob/457541806647adea6f01443b1cb0863198030789/lib/logging/GhostLogger.js#L271-L289Strips away headers and values. I'd like to recommend we replace the value with
'REDACTED'
instead as we may be missing valuable context when troubleshooting issues. For example: request with anauthorization
header and one without are 2 totally different problems. When we strip it away in the logs, was it ever there...