[logback-user] Appender question

muleman croffler at earthlink.net
Mon Jun 8 17:54:05 CEST 2009


I built an appender that buffers messages and it will write the content to
the appender on the stop method.

With this appender I want to collect messages that are related to a specific
Object instance in my application. For example; I want to collect all
messages that belong to one ProcessingRequest. Once this request is
completed I want to flush it out to a Space as one string plus host and some
more info....

I noticed that the appender does not exist any more after I call the stop
method. Furthermore it looks like appenders are not created on a per logger
basis, there seems to be just one appender instance ....

Is there a way to force a new appender instance for each logger ?

Thanks
Chris

-- 
View this message in context: http://www.nabble.com/Appender-question-tp23922806p23922806.html
Sent from the Logback User mailing list archive at Nabble.com.



More information about the Logback-user mailing list