Are there good ways to put guardrails on not logging sensitive information? For example, passwords
If there isn't a guardrails approach, is there a way to help make the easy thing the right thing like create a logging library wrapper that filters out passwords and whatever other data you deem should be omitted from logs?
It seems like DataDog has some functionality to help with this, but Datadog may not be the only place you're logging (AWS, etc) so something in the application code feels like the right place?