Hi folks!

I am new to this mailing list and I hope that I am right here.

I finished a XMLSocketHubReceiver and all I wanted to do here is to ask the developer to add this receiver to the log4j package. I am not here to drop my footprint and most likely this will be the one and only thing I will have done regarding to log4j because I am not a professionell Java developer.

I developed the XMLSocketHubReceiver because I needed it for my Log4rpg project. Log4rpg was inspired from the great log4j utility. It is developed in RPG to run on an AS/400 or nowadays i5 server. I am impressed how easy debugging could be using Chainsaw. Great thing!

I assume that the XMLSocketHubReceiver would also be useful for the log4cxx community if they had a XMLSocketHubAppender as I have (but written in RPG).

My XMLSocketHubReceiver actually is a copy of the SocketHubReceiver. I added a XMLDecoder and I replaced the SocketNode with a XMLSocketNode. I also had to add addListener() and removeListener() methods to the XMLSocketNode and replace the 'listener' with a 'listenerList'. Finally I had to create an exception in XMLSocketnode.run() in case is.read() returned -1 (connection lost) because the Chainsaw socketClosedEvent listener did not like the null exception. No more no less. There is no need to add my name (footprint) to the project. All I ask for is to add the XMLSocketHubReceiver to the log4j package. It was over the top if it could also be added to the Chainsaw menu.

Regards,

Thomas Raddatz.



Reply via email to