logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: appenders?
Date Mon, 04 Feb 2002 18:10:34 GMT

Have you looked at the SMTPAppender? It's similar in functionality to
what you want to do. 

At 17:49 04.02.2002 +0100, you wrote:
>I have decided to use log4j in a project we are working on at WEST
>consulting.
>
>I have a question concerning the use of appenders in log4j.
>The problem is as follows:
>We would like to extend the functionality of our logging by writing a
>new
>appender which has a buffer in it for the log-messeges that are not
>actually
>logged but kept in this buffer for later use (fatal exceptions).
>Whether a log-message is actually logged or kept in the buffer depends
>on
>its priority.
>What I have seen from the hierarchy of the appenders in log4j is that it
>
>is not possible to make a (appender) class which can take different
>types of
>appenders (fileAppender, RollingFileAppender,...) as parameter to
>delegate to.
>It is only possible to extend one of the appender classes at a time and
>this
>is a limitation which we do not want in our system.
>
>The question is thus: is there a solution for the desired functionality
>described above?
>
>Yours sincerely,
>
>
>-- Ali Mesbah - ali@west.nl - West Consulting B.V. --

--
Ceki Gülcü



--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message