Hello Christian,

You can register a status listener which will be notified anytime a new status message is created. See [1]. Logback ships with a listener called OnConsoleStatusListener which prints status messages on the console. It is installed as

<configuration>
 <statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener" />
  ... the rest of the configuration file
</configuration>

Its installation is highly recommended. You could fairly easily develop your own listener which writes to a file.

HTH,

[1] http://logback.qos.ch/manual/configuration.html#statusListener

On 22/03/2010 3:21 PM, Christian Migowski wrote:
Yes, I did reduce MaxIndex and that indeed made the status messages on
stdout go away, sorry, should have mentioned that. I was just
wondering how/if it is possible to log this messages elsewhere than
stdout.

christian


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

Reply via email to