Added SoundAppender to CVS HEAD - should be available in next 1.3 alpha release.

See 
http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/apache/log4j/varia/SoundAppender.java?rev=1.1&view=markup

You'll need to add a filter to this appender specifying which events match 
(LevelMatchFilter or ExpressionFilter), followed by a DenyAllFilter.

Scott

-----Original Message-----
From: news on behalf of Rakesh Patel
Sent: Fri 9/2/2005 11:59 AM
To: [email protected]
Subject:  Re: Chainsaw Features I'd Like To See
 
Paul Smith <psmith <at> aconex.com> writes:

> 
> I wrote a swing app that read monitoring data from our main  
> application, and one of our directors asked that it be changed to  
> play this (hideously) loud air-raid siren when the performance of the  
> application went above a threshold.
> 
> It was cool for the first and second time, but got real old fast.
> 
> But it's straight forward to add as an optional feature.
> 
> Paul
> 
> On 02/09/2005, at 6:45 AM, Scott Deboy wrote:
> 
> > Good idea.
> >
> > Maybe something like JToaster (depending on license) or just a noise,
> > triggered by a user-defined expression?
> >
> > -----Original Message-----
> > From: news [mailto:news <at> sea.gmane.org] On Behalf Of Rakesh Patel
> > Sent: Thursday, September 01, 2005 1:25 PM
> > To: log4j-user <at> logging.apache.org
> > Subject: Chainsaw Features I'd Like To See
> >
> > i could not find a place to send my suggestions regarding chainsaw,  
> > so i
> > thought i'd posted them here because lot of the log4j/chainsaw
> > contributors read this group.
> >
> > an ability to set chainsaw to make a noise, flash, send email when it
> > see message of a certain pattern come across of a certain level/error.
> > Now that would be cool. I don't want to be staring the chainsaw  
> > monitor
> > all the time.
> >
> > rakesh
> >
> >
> >

i'd like to both options - one where it would flash, another where it made
some sound (a .wav file) you can select as not to offend paul's director ;)

by the way, is there an ETA on when you expect the rule set to be implemented. 
when i try set a under defined rule - i see it is not yet implemented.

paul, are you saying to can add the the sound option to chainsaw - can you 
explain how. we can discuss it out of this forum if this is not the place for 
such detailed discussions.

thanks

rakesh







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



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

Reply via email to