logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fhunter" <fhun...@survivorsoft.com>
Subject Appenders
Date Wed, 12 Dec 2001 05:05:18 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message