Being more specific...lets say i am generating alert when ever logger.fatal
is reached .Now i have 100 transaction per second all got failed due to some
single reason.So all 100 transaction will reach that logger.fatal code and
all will generate an email corresponding to it.I want to limit that number
say only 5 or 10 emails should only be generated in 1 second.

Ur immediate help will be really helpful.


garima015 wrote:
> 
> Say if 100 alerts are getting raised per second i want to limit them to 10
> or some number.As i have to page alert to production team i dont want to
> send 100 page for some issue in such a short interval of time. 
>  
> 
> James Stauffer wrote:
>> 
>> Are you saying that when there are a lot of events you only want a few
>> events to make to the appender so that you aren't sent so many alerts?
>> 
>> On 11/29/06, garima015 <[EMAIL PROTECTED]> wrote:
>>>
>>> I have a requirement where 100 transactions are fired per second.
>>> Current application is using Log4J for generating the System alerts.
>>>  I got to know that whenever the logger.error is used log4j is being
>>> used to
>>> generate the alert while logger.error method is used.
>>> I want to restrict the number of times the alert is generated.Say if all
>>> transactions are failing then i want that alerts should be 10 in number.
>>>  Can somebody tell me how is this implemented and where exactly is the
>>> code
>>> where alerts are generated.
>>> Or if some body can give me any idea how to implement this.
>>> Any help will be really appreciated.
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Log4J-System-alerts-tf2727572.html#a7607284
>>> Sent from the Log4j - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> 
>> 
>> -- 
>> James Stauffer        http://www.geocities.com/stauffer_james/
>> Are you good? Take the test at http://www.livingwaters.com/good/
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Log4J-System-alerts-tf2727572.html#a7608698
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to