https://tersesystems.github.io/terse-logback/guide/censor/
Or you can use logstash-logback-encoder, which has masking:
https://github.com/logstash/logstash-logback-encoder#masking
https://docs.rs/witchcraft-log/0.3.0/witchcraft_log/
https://tersesystems.github.io/terse-logback/guide/censor/
Or you can use logstash-logback-encoder, which has masking:
https://github.com/logstash/logstash-logback-encoder#masking