[logback-user] conditionals in logback.xml?

Ceki Gulcu ceki at qos.ch
Thu Jun 4 12:52:15 CEST 2009

Joran does not come with conditional support. However, it could be
added. Assuming the necessary support was there, how would the
conditional segments look like?

Thorbjørn Ravn Andersen wrote:
> Hi
> I would like to be able to only enable certain appenders if a given 
> condition is true (based on e.g. a property file).
> Is there a simpe way to do this with logback.xml or must I configure 
> Joran myself?
> Thanks

Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.

More information about the Logback-user mailing list