I've configured a client application to use zeroconf to establish a connection 
with Chainsaw. Currently it all works fine with log4j-1.3alpha-7.

But for some reason there's a problem when I compile/run both the client app 
and Chainsaw with log4j-1.3alpha-8.  When I run them, I see my client app 
appearing in the zeroconf tab of chainsaw but right after that there's the 
following exception on the client side:

java.lang.NoSuchMethodError: 
org.apache.log4j.spi.ComponentBase.access$101(Lorg/apache/log4j/net/SocketHubReceiver;)Lorg/apache/log4j/ULogger;
        at 
org.apache.log4j.net.SocketHubReceiver$Connector.run(SocketHubReceiver.java:273)

As I mentioned, if I link everything back to the alpha-7 version it works fine.
Can anyone help?

Thanks and regards,

Quinn


-----Original Message-----
From: Scott Deboy [mailto:[EMAIL PROTECTED]
Sent: May 23, 2007 7:07 PM
To: Log4J Users List
Subject: RE: Third Party Appenders


You need something like ExecAppender (link below) combined with an
ExpressionFilter (currently in log4j 1.3) or StringMatchFilter.

http://www.ubookcase.com/book/Addison.Wesley/Apache.Jakarta.and.Beyond.A
.Java.Programmers.Introduction/0321237714/ch11lev1sec2.html



Scott Deboy


-----Original Message-----
From: Roger Varley [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 23, 2007 4:37 AM
To: log4j-user@logging.apache.org
Subject: Third Party Appenders

Hi

Is there an appender that will allow me to monitor for a specific
message or list of specific messages and allow me to trigger an action
against those messages. I may need a different action for each
message.

Background.

I'm supporting a third party java web application. I don't have access
to the source code nor am I allowed to de-compile and modify the
source code. However, the application is using log4j for it's logging.
At the moment I'm manually monitoring the logfiles for the appearance
of specific messages and manually taking action based on those
messages.

I've tried writing a unix like "tail" program to monitor the logfile
directly but this fails overnight when the logfile rolls over to a new
logfile. So I thought that adding my own appender might be a more
elegant solution. I'm quite prepared to have a go at doing this myself
but I thought that I would check first in case this has already been
done. I'd also be grateful for alternate suggestions if it is
generally felt that this is not a good idea.

Regards
Gilbert

---------------------------------------------------------------------
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]


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

Reply via email to