Results 1 to 3 of 3

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

  1. #1
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,806

    Question 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
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

  2. #2
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,853

    Default

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

  3. #3
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,806

    Default

    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
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •