Hello,

I want to use SMTPAppender in the following way:

1) send e-mail only when the predefined number of errors are accumulated.
As far as I understand, I can achieve this via custom Evaluator class

2) If some predefined period of time passed and no e-main was sent so far
(because the threshold described in 1) was not reached), I want to send an
e-mail which will contained the number of messages collected so far, even one.

How can I achieve this behaviour (especially 2)?

Thanks in advance.

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

Reply via email to