Announcement Announcement Module
Collapse
No announcement yet.
How Identificate each 'logging-channel-adapter' in its output? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How Identificate each 'logging-channel-adapter' in its output?

    Hello guys

    I have two logging-channel-adapter configured

    Code:
    <int:logging-channel-adapter 
          id="logger01" 
          log-full-message="true"
          level="INFO"
    />
    
    <int:logging-channel-adapter 
          id="logger02" 
          log-full-message="true"
          level="INFO"								 
    />
    I know both are right now the same, but I could change some attribute for any of them, therefore I need have two declared

    Even when the id are unique, always in my console output I got for both

    Code:
    2011-07-12 20:47:00,375 INFO [org.springframework.integration.handler.LoggingHandler] 
    ...
    2011-07-12 20:47:00,375 INFO [org.springframework.integration.handler.LoggingHandler]
    ...
    I mean, I dont have a way to know exactly which logging-channel-adapter are showing the information. I would have a project with many logging-channel-adapter and I need to know which of them are showing the information

    How would I handle this?

    Thanks in advanced

  • #2
    There's an open issue for this. Please vote for it and/or add a watch: https://jira.springsource.org/browse/INT-1947

    Comment


    • #3
      Hello Mark

      There's an open issue for this. Please vote for it and/or add a watch: https://jira.springsource.org/browse/INT-1947
      Thank you, I already voted, wondered why I am the first vote

      Comment

      Working...
      X