[logback-user] Suppress or redirect Logback's internal status messages?

Robert Elliot rob at lidalia.org.uk
Wed Aug 4 18:11:04 CEST 2010


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" <derek.mahar at gmail.com>
To: logback-user at qos.ch
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.ReconfigureOnChangeFilter at 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
Logback-user at qos.ch
http://qos.ch/mailman/listinfo/logback-user


More information about the Logback-user mailing list