
8 Mar
2011
8 Mar
'11
5:36 p.m.
Hi, I wrote a custom appender that just writes to a circular queue: public class MemoryAppender extends AppenderBase<ILoggingEvent> { stuff } I configure it as follows: <appender name="ringLogger" class="com.xxxxxxxx.MemoryAppender"> <limit>1000</limit> </appender> His append NEVER receives stack traces: public void add(ILoggingEvent loggingEntry) { boolean hasStackTrace = loggingEntry.getCallerData(); /* always false ! */ } Any idea why this would be? This appender is just about as simple as it can get ...... --Chris