I've reworked the SocketAppender and have done some superficial
testing with Chainsaw. My previous attempt would fail on the second
event transmitted since I was thinking that each network packet was a
complete ObjectOutputStream instead of one continuous
ObjectOutputStream. I'm fairly certain that I could optimize the size
of the later packets by referencing the class descriptions from the
first packet, but will save that for a later revision. I've tested
SocketAppender with the current SVN HEAD chainsaw with Chainsaw active
and accepting connections before starting log4cxx. I haven't tested
starting Chainsaw after the log4cxx to see if the reconnect logic works.
SocketHubAppender appears to have a problem with accepting
connections. If anyone wants to troubleshoot that, please feel free.
I haven't used XMLSocketAppender with Chainsaw previously and it
seemed like Chainsaw needed more configuration to get the
XMLSocketAppender working than the SocketAppender. If anyone wants to
check XMLSocketAppender out, again please feel free.
I don't expect to work on this over the weekend, so feel free to test
and report any issues (ideally with patches).