Hi, all!
I have an application that process requests from some client devices. All incoming messages contain device identification information and my purpose is to manage standard spring integration logging separately for different messages (for messages from message flow, that was initiated by the certain device). For example, I know, that there is some troubles with the device with ID=5 and I want to log the corresponding messages to another log-file with DEBUG level. I can enrich the incoming message with a header contains this identification information, so all messages from the interesting flow will be marked. But can I specify some logger choice strategy to solve my problem?


Reply With Quote