A smart SMTPAppender

Hi, I am looking for a SMTPAppender that mails only unique exceptions/errors every n minutes. While I can develop this by extending the existing framework, I was wondering if this is available in logback(or other logging frameworks). Thanks, Hari

Hi Hari, The eventEvaluator object in SMTPAppender is responsible for determining when messages are output. You can write an eventEvaluator which is time sensitive. I hope this helps, -- Ceki On 2/10/2016 5:46, Harinatarajan Gnanashekaran wrote:
Hi,
I am looking for a SMTPAppender that mails only unique exceptions/errors every n minutes. While I can develop this by extending the existing framework, I was wondering if this is available in logback(or other logging frameworks).
Thanks, Hari
_______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev

Hi, I was solving the similar issue (with hundreds mails from logback) and now I use the Sentry (https://docs.getsentry.com/on-premise/) to collect the unique error and send the email notifications. I know that my suggestion is out of scope your question, but hope it will help you. Otherwise just ignore it :) Best, Stanislav Spiridonov On Wed, Feb 10, 2016 at 5:46 AM, Harinatarajan Gnanashekaran < hari.natraj@gmail.com> wrote:
Hi,
I am looking for a SMTPAppender that mails only unique exceptions/errors every n minutes. While I can develop this by extending the existing framework, I was wondering if this is available in logback(or other logging frameworks).
Thanks, Hari
_______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev
participants (3)
-
Ceki Gulcu
-
Harinatarajan Gnanashekaran
-
Stanislav Spiridonov