Mask sensitive data in logs with logback

后端 未结 6 2090
难免孤独
难免孤独 2020-11-30 04:05

I need to be able to search an event for any one of a number of patterns and replace the text in the pattern with a masked value. This is a feature in our application intend

6条回答
  •  不知归路
    2020-11-30 04:52

    I've got censors in https://github.com/tersesystems/terse-logback that allow you to define a censor in one place and then refer to it in multiple appenders.

提交回复
热议问题