[logback-user] Buffered Appender?

Eric Faden eric at techeminence.com
Fri Aug 15 19:41:41 CEST 2008

I want the ability to buffer up the last N messages above some level and 
then release them all if it gets a message above another level.  I know 
you can make a custom appender for Log4j for this, but is it possible in 
LogBack.  As an example....

I have a class A with a function Test().....  Test has a couple Debug 
messages which I want to get buffered.  If Test throws an Error level 
message I want the appender to dump the Debug messages and then the 
Error one.

Is that possible?


More information about the Logback-user mailing list