logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rusty Wright <rusty+comm...@grunt.berkeley.edu>
Subject SMTPAppender
Date Thu, 14 Jul 2005 19:47:30 GMT
I went and looked in the list archives and someone pointed out that 
SMTPAppender is set up to only log error level stuff.  The default 
TriggeringEventEvaluator it's using only triggers on error level.  So I 
wrote my own TriggeringEventEvaluator that always returns true and now 
it logs everything, but each call to log.whatever() generates a separate 
email.

The usefulness of SMTPAppender is eluding me.

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


Mime
View raw message