The throwable (exception) information is contained within the event. See the getThrowableInformation() and getThrowableStrRep methods in the org.apache.log4j.spi.LoggingEvent class. HTH, Ceki
At 21:05 11.12.2001 -0800, you wrote: >I have an TextAppender working. > >I extend AppenderSkeleton and override append( LoggingEvent ... ). This works great. >However I would like to >be able to get a hold of the Exception Object in my appender, when calling something >like: > > catch( Exception e ) > { > m_log.error( "My Error String", e ); > } > >How would I go about doing this... > >There is no append( LoggingEvent ..., Exception ... ) method that I can override >right? So what else could I do? > >Thanks in advance -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>