hide sensitive config from logs
tooptoop4 opened this issue · 2 comments
tooptoop4 commented
If i have an input yaml connecting to jdbc source like:
inputs:
somedb:
jdbc:
connectionUrl: jdbc:jtds:redact
user: someuser
password: somepass
the log has
2020-12-08 17:01:28,076 [main] INFO com.yotpo.metorikku.Job - these are the config inputs: Some(Map(.....somepass
ideally this should be printed as ****** in the log
amirhalatzi commented
You're absolutely right. You're most welcomed to send a PR with relevant changes to the Log4J setup. There's plenty of tutorials online on how to achieve this.
sidharthbolar commented
Hi Is this issue still open for PR?