YotpoLtd / metorikku

A simplified, lightweight ETL Framework based on Apache Spark
https://yotpoltd.github.io/metorikku/
MIT License
583 stars 155 forks source link

hide sensitive config from logs #399

Open tooptoop4 opened 3 years ago

tooptoop4 commented 3 years ago

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 3 years ago

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 1 year ago

Hi Is this issue still open for PR?