Chainsaw Location Info

At present, when a socket appender with locationInfo = true, e.g.

is used to write to Chainsaw v2, the client get's a

log4j:WARN Detected problem with connection: Software caused connection abort: socket write error

and a

java.lang.ClassNotFoundException: org.apache.log4j.spi.LocationInfo

will be seen in the Chainsaw log window


Set the locationInfo to false or write the log to a file and have Chainsaw tail that.

See for details but note that the ordering of the appenders failed to fix it for me, too.


I get the same problem with the SocketHubAppender. I tried to set locationInfo to false but I'm still getting the error. Any idea why?
-- AlexandreLemieux 2004-11-18 12:47:28

So I keep trying out different things... I tried using a SocketAppender with locationInfo set to false and I get the error anyway, even if the previous message says it would be ok.

I'm seeing a XMLSocketReceiver when I click to create a new Receiver in Chainsaw, but I don't see a XMLSocketAppender in the Log4J Javadoc. Is this something new that hasn't been released yet to Log4J? Is there a way to get the appender and use it? Is there a XMLSocketHubAppender too?
-- AlexandreLemieux 2004-11-18 13:12:24

ChainsawLocationInfo (last edited 2011-09-08 07:19:35 by CekiGulcu)