logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: Log4J System alerts
Date Wed, 29 Nov 2006 22:02:41 GMT
You could probably do that by creating a filter on the appender.

On 11/29/06, garima015 <garima_indiya@rediffmail.com> 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 <garima_indiya@rediffmail.com> 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: log4j-user-unsubscribe@logging.apache.org
> >> For additional commands, e-mail: log4j-user-help@logging.apache.org
> >>
> >>
> >
> >
> > --
> > James Stauffer        http://www.geocities.com/stauffer_james/
> > Are you good? Take the test at http://www.livingwaters.com/good/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> > For additional commands, e-mail: log4j-user-help@logging.apache.org
> >
> >
> >
>
> --
> 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: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


-- 
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message