<div dir="ltr"><div style="font-size:12.8px">Thanks Ceki. I had a look at the EventEvaluator interface and it does ease my work a lot. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">* I would like to set the footer to the exception with the summary(like the number of times an exception has occurred). I am not sure what the right place to add this logic. </div><div style="font-size:12.8px">I am not sure if I need to override ch.qos.logback.core.net.SMTPAppenderBase#append or is there an easier way to acheive the same.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">* Also, I would like to configure the time after which duplicate errors/exceptions are reported again. What is the recommended approach to put in the configuration details and best way to read it in the eventEvaluator? In the worst case scenario, I can always use a properties reader.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks,</div><div style="font-size:12.8px">Hari</div><div style="font-size:12.8px"><br></div><span style="font-size:12.8px">Date: Wed, 10 Feb 2016 10:20:49 +0100</span><br style="font-size:12.8px"><span style="font-size:12.8px">From: Ceki Gulcu <</span><a href="mailto:ceki@qos.ch" target="_blank" style="font-size:12.8px">ceki@qos.ch</a><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">To: logback developers list <</span><a href="mailto:logback-dev@qos.ch" target="_blank" style="font-size:12.8px">logback-dev@qos.ch</a><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">Subject: Re: [logback-dev] A </span><span style="font-size:12.8px">smart</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">SMTPAppender</span><br style="font-size:12.8px"><span style="font-size:12.8px">Message-ID: <</span><a href="mailto:56BB00F1.1070405@qos.ch" target="_blank" style="font-size:12.8px">56BB00F1.1070405@qos.ch</a><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">Content-Type: text/plain; charset=utf-8; format=flowed</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">Hi Hari,</span><br style="font-size:12.8px"><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">The eventEvaluator object in </span><span style="font-size:12.8px">SMTPAppender</span><span style="font-size:12.8px"> is responsible for determining</span><br style="font-size:12.8px"><span style="font-size:12.8px">when messages are output. You can write an eventEvaluator which is time</span><br style="font-size:12.8px"><span style="font-size:12.8px">sensitive.</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">I hope this helps,</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">--</span><br style="font-size:12.8px"><span style="font-size:12.8px">Ceki</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">On 2/10/2016 5:46, Harinatarajan Gnanashekaran wrote:</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">> Hi,</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">> I am looking for a </span><span style="font-size:12.8px">SMTPAppender</span><span style="font-size:12.8px"> that mails only unique exceptions/errors</span><br style="font-size:12.8px"><span style="font-size:12.8px">> every n minutes. While I can develop this by extending the existing</span><br style="font-size:12.8px"><span style="font-size:12.8px">> framework, I was wondering if this is available in logback(or other</span><br style="font-size:12.8px"><span style="font-size:12.8px">> logging frameworks).</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">> Thanks,</span><br style="font-size:12.8px"><span style="font-size:12.8px">> Hari</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><br></div>