Where can I find the source code for the log4j ZeroConfSocketHubAppender?
I'm looking for a way to make log4net zeroconf support for publishing logs to Apache Chainsaw (see here: Does log4net support zeroconf? ). Apparently log4j can already do this with ZeroConfSocketHubAppender.
Where can I view the source for java ZeroConfSocketHubAppender? I looked in both Apache Chainsaw and Log4j repos but were unsuccessful.
a source to share
ZeroConf is the log4j compiler, but ZeroConfSocketHubAppender (and this companion) is no longer needed due to the fact that most networking applications in log4j support ZeroConf support since log4j 1.2.16.
All you need to do to enable ZeroConf is add jmdns.jar to your classpath and set the "advertViaMulticastDNS" parameter to "true" in the application configuration.
Here's a commit and log information describing the changes that have improved ZeroConf support in applications (and recipients): http://svn.apache.org/viewvc?view=revision&revision=924176
Here is a link to the ZeroConf page if you still want to use this http://logging.apache.org/log4j/companions/zeroconf/source-repository.html
By the way, the svn HEAD Chainsaw version (due to be released soon) includes support for using advertised information about the ZeroConf application to automatically create receivers.
a source to share