You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a built-in way to mark some specific strings as censored, so if they appear in the logs they are replaced with
******
.Thinking something like this:
This would output to stdout:
$`psql postgres://example:*************@production.com:5432/example`
You could also use this same feature to just censor any process.env value:
And then have confidence no secrets are being logged.
Beta Was this translation helpful? Give feedback.
All reactions