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
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to