Suppress output of logback status messages

Hello, is there a way to suppress the automatic output of the logback status messages in case of errors or warnings in the XML configuration? It seems these messages are output using a logging facility itself. So maybe there is some way to configure this? And maybe disable console logging for it and just log it to a file? Thx for any idea, Chris -- View this message in context: http://old.nabble.com/Suppress-output-of-logback-status-messages-tp26336378p... Sent from the Logback User mailing list archive at Nabble.com.

Hello Chris, Removing the errors or warnings is one sch way. I suggest reading the chapter on logback configuration [1] and in particular the section on "status messages." HTH [1] http://logback.qos.ch/manual/configuration.html desolat wrote:
Hello,
is there a way to suppress the automatic output of the logback status messages in case of errors or warnings in the XML configuration?
It seems these messages are output using a logging facility itself. So maybe there is some way to configure this? And maybe disable console logging for it and just log it to a file?
Thx for any idea, Chris
-- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch

This isn't always possible. http://jira.qos.ch/browse/LBCLASSIC-156 SocketAppender, for example, is issuing a WARN if the connection can't be established even though it's possible to use it "on demand" due to the reconnection feature. On 14.11.2009, at 11:53, Ceki Gulcu wrote:
Hello Chris,
Removing the errors or warnings is one sch way. I suggest reading the chapter on logback configuration [1] and in particular the section on "status messages."
HTH
[1] http://logback.qos.ch/manual/configuration.html
desolat wrote:
Hello, is there a way to suppress the automatic output of the logback status messages in case of errors or warnings in the XML configuration? It seems these messages are output using a logging facility itself. So maybe there is some way to configure this? And maybe disable console logging for it and just log it to a file? Thx for any idea, Chris
-- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user

Ceki Gulcu wrote:
Removing the errors or warnings is one sch way. I suggest reading the chapter on logback configuration [1] and in particular the section on "status messages."
HTH
You missunderstood me: I know why the warnings appear, I must live with them because I have to include an XML file which consists only partly of a section for logback and partly of other statements which in fact are ignored by logback but which produce the warning messages. So I just want to get rid of the warning message output on the console. Nothing else. Chris -- View this message in context: http://old.nabble.com/Suppress-output-of-logback-status-messages-tp26336378p... Sent from the Logback User mailing list archive at Nabble.com.
participants (3)
-
Ceki Gulcu
-
desolat
-
Joern Huxhorn