dcsimg
Log4j mail caching
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mucahit_Kurt
Posted On:   Thursday, November 24, 2005 03:17 AM

Hi,


We are using org.apache.log4j.net.SMTPAppender of log4j and our threshold value is ERROR. Application sends mail per ERROR but we want to send one mail for 20 errors.
Which parameter we must set? Can you help us?
Thanks.

Re: Log4j mail caching

Posted By:   Warren_Tinkoe  
Posted On:   Tuesday, January 31, 2006 03:51 AM

you must set the BufferSize.

Re: Log4j mail caching

Posted By:   Mucahit_Kurt  
Posted On:   Friday, November 25, 2005 07:56 AM

Solution: Extends log4j SMTP Appender class and make your changes.

About | Sitemap | Contact