Chainsaw Location Info
At present, when a socket appender with locationInfo = true, e.g.
log4j.appender.Chainsaw=org.apache.log4j.net.SocketAppender log4j.appender.Chainsaw.remoteHost=localhost log4j.appender.Chainsaw.port=4560 log4j.appender.Chainsaw.locationInfo=true
is used to write to Chainsaw v2, the client get's a
log4j:WARN Detected problem with connection: java.net.SocketException: Software caused connection abort: socket write error
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 http://marc.theaimsgroup.com/?l=log4j-user&m=109537273531808&w=2 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