How to avoid 'duplicate' emails

Hi * We are using smtpappender. Is there an official way to stop logback from mailing similar emails over and over? We think that this could be based on filtering out identical subjects and time window. Is there a solution out there? If not, what would be the recommended way to tackle this? Thanks Benoit ----- Important Notice This communication contains information that is considered confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and delete the original

Hi Benoit, You'd need to write your own evaluator [1]. HTH, -- Ceki [1] http://logback.qos.ch/manual/appenders.html#smtpAppender_Evaluator On 17.02.2011 11:22, Benoit Xhenseval wrote:
Hi *
We are using smtpappender.
Is there an official way to stop logback from mailing similar emails over and over? We think that this could be based on filtering out identical subjects and time window.
Is there a solution out there?
If not, what would be the recommended way to tackle this?
Thanks
Benoit
----- Important Notice This communication contains information that is considered confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and delete the original _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user
participants (2)
-
Benoit Xhenseval
-
Ceki Gulcu