
15 Aug
2008
15 Aug
'08
5:41 p.m.
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? -Eric