logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patrick <Patrick.W...@mobilesolutions.ch>
Subject Re: lifesigns
Date Tue, 22 Aug 2006 09:26:12 GMT

Takacs Bence-2 wrote:
> What if I make my own LifeSignAppender, which is not a real logger but 
> has a Time parameter, and runs Threads which measure time, and if the 
> Time is up, throw an ERROR level log? However, could an appender throw a 
> log message?

make your LifeSignAppender extend SMTPAppender and if your timer is fireing
super.append(LoggingEvent event);
View this message in context: http://www.nabble.com/lifesigns-tf2114865.html#a5922183
Sent from the Log4j - Users forum at Nabble.com.

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message