Logback only outputs its status messages when there is a warning or error - in 
this case Logback thinks that you have two logback.xml files on the classpath.  
As they have the same path, it looks like Logback is wrong.

Are you using WebLogic? There was a similar issue with SLF4J wrongly thinking 
there were multiple bindings on the classpath.

----- Original Message -----
From: "Derek Mahar" <[email protected]>
To: [email protected]
Sent: Wednesday, 4 August, 2010 4:26:06 PM
Subject: [logback-user] Suppress or redirect Logback's internal status  
messages?

How can I configure Logback to suppress all of its internal status
console messages or redirect these to standard output or a file?

16:50:25,814 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback-test.xml]
16:50:25,814 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Found resource [logback.xml] at
[file:/opt/dap/domains/ap0491/uat1/domain/instance-config/logback.xml]
16:50:25,816 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
Resource [logback.xml] occurs multiple times on the classpath.
16:50:25,816 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
Resource [logback.xml] occurs at
[file:/opt/dap/domains/ap0491/uat1/domain/instance-config/logback.xml]
16:50:25,816 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
Resource [logback.xml] occurs at
[file:/opt/dap/domains/ap0491/uat1/domain/instance-config/logback.xml]
16:50:25,923 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - debug
attribute not set
16:50:25,924 |-INFO in
ch.qos.logback.classic.turbo.reconfigureonchangefil...@1a15291 - Will
scan for changes in file
[/opt/dap/domains/ap0491/uat1/domain/instance-config/logback.xml]
every 60 seconds.
...

Thank you,

Derek
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to