[logback-user] Can I have level specific patterns?

Andrew E. Davidson adavidson2 at apple.com
Fri Apr 10 21:36:06 CEST 2015


Is it possible to have a logbook-text.xml file that defines two different patterns? For example 

if the level is debug, I want the level, time stamp, thread, file, line number, and message. 

If the level is error or warn, I want the level and message

If the level is info I just want the message

Thanks

Andy


More information about the Logback-user mailing list