[logback-user] layout suppress output partly if no markers

ekkehard ekkehard at gentz-software.de
Sun Sep 21 19:29:35 CEST 2008


if I'm having a layout like
something ... [%marker]- and so on
and I want to suppress
[%marker]-
whats the best way to do tgis ?

I can define an evaluator HAS_MARKER
marker != null

but something like
([%marker]-){HAS_MARKER}
doesnt work

any idea ?

THX

ekke


More information about the Logback-user mailing list