[logback-user] logback always printing status information?!
chrismfwrd at gmail.com
Mon Mar 22 16:55:24 CET 2010
thanks for your reply, it was very helpful.
I did as you wrote, but it seems that the OnConsoleStatusListener is
still "registered", messages go still to stdout via this listener, is
there a way to "unregister" this listener in the logback.xml config
I'm new to logback and I am very excited (? begeistert) of all the
capabilities and flexibility it offers, it is great!
On Mon, Mar 22, 2010 at 3:47 PM, Ceki Gülcü <ceki at qos.ch> wrote:
> Hello Christian,
> You can register a status listener which will be notified anytime a new
> status message is created. See . Logback ships with a listener called
> OnConsoleStatusListener which prints status messages on the console. It is
> installed as
> <statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener"
> ... the rest of the configuration file
> Its installation is highly recommended. You could fairly easily develop your
> own listener which writes to a file.
>  http://logback.qos.ch/manual/configuration.html#statusListener
More information about the Logback-user