From Dev.to
Your logger redaction only hides the fields you remembered
Every leaked secret I have seen started the same way. Someone wrote logger.info({ user }), the code looked harmless, and user carried a session token. Now that token lives in the log aggregator, the e...
