I'm using spring integration in my application,
The information in the payload of messages are sensitive so I don't want it to be logged.
I've removed all of the payloads from spring integration INFO logs but,
when changing spring integration log level to DEBUG,
the payload and headers of messages are logged when
messages are sent on various components of spring integration.
The question is how could I disable logging of payload of message in DEBUG mode?
(Is there any way to extend logging facility of spring integration and introduce my own implementation to spring integration?)
thanks in advance