Affects Version/s: 1.2.3
Fix Version/s: None
Spring boot 2.1.3
Spring ingegration 5.1.3
I am trying to mask a token in the logs, and in order to do so i am using this pattern :
This pattern works well but when said token is to be found inside another exception (nested). In that case the regex expression fails to replace it.
This happens to me in the class MessagePublishingErrorHandler of spring integration when printing a stacktrace that at the bottom contains the message with the header.
Could you please have a look at that?