Can you please give me some more idea on how to create that filter..and how
this will be called

thanks for ur immediate reply

James Stauffer wrote:
> 
> You could probably do that by creating a filter on the appender.
> 
> On 11/29/06, garima015 <[EMAIL PROTECTED]> 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#a7608696
>> 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#a7609591
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