I've setup a global channel interceptor that sends all messages to a logging channel. I then am using the logging channel adapter to log all messages that are coming through my system. This is nice for message debugging as it allows me to see the message payload and their headers as they pass through my defined workflow.
The logs produced from this logging channel adapter don't include the channel where the message was encountered. Is there a way to log not only the full message but also the channel where message was received?
Here's my setup:
<channel id="loggingChannel" />
<channel-interceptor pattern="*" order="3">
<constructor-arg ref="loggingChannel" />
<logging-channel-adapter channel="loggingChannel" level="INFO" log-full-message="true"/>