logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lyndsey.J.Hairs...@jpmorgan.com
Subject Re: SMTPAppender Threshold Bug
Date Thu, 17 Jan 2002 08:36:33 GMT

The default constructor for SMTPAppender will instantiate the appender with
a TriggeringEventEvaluator that will trigger an email to be sent on events
with priority ERROR or higher. I believe that if an event has a priority
lower than ERROR, that event will be buffered and not sent until an event
with priority ERROR or higher causes the buffer to be flushed and an email
Therefore, if you want to send an email on events with priority less than
ERROR, use the alternative constructor which takes a
TriggeringEventEvaluator as a parameter.
Check out the source code for more details.
Hope that helps

"Boudreau, Mike" <MBoudreau@TRCSOLUTIONS.com> on 16/01/2002 16:31:30

Please respond to "Log4J Users List" <log4j-user@jakarta.apache.org>

To:   "'log4j-user@jakarta.apache.org'" <log4j-user@jakarta.apache.org>
Subject:  SMTPAppender Threshold Bug

I tried setting the Threshold on the SMTPAppender in my properties file,
the threshold remained as the default so that email was sent only for ERROR
and FATAL levels.

Is there a bug in the SMTPAppender  regarding the Threshold?


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

View raw message