You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ps...@apache.org on 2006/02/24 03:35:57 UTC
svn commit: r380310 - in /logging/log4j/trunk: docs/chainsaw.html
src/xdocs/chainsaw.xml
Author: psmith
Date: Thu Feb 23 18:35:55 2006
New Revision: 380310
URL: http://svn.apache.org/viewcvs?rev=380310&view=rev
Log:
Added documentation about how to configure ZeroConf stuff for one's application
including links to the stuff required.
Modified:
logging/log4j/trunk/docs/chainsaw.html
logging/log4j/trunk/src/xdocs/chainsaw.xml
Modified: logging/log4j/trunk/docs/chainsaw.html
URL: http://svn.apache.org/viewcvs/logging/log4j/trunk/docs/chainsaw.html?rev=380310&r1=380309&r2=380310&view=diff
==============================================================================
--- logging/log4j/trunk/docs/chainsaw.html (original)
+++ logging/log4j/trunk/docs/chainsaw.html Thu Feb 23 18:35:55 2006
@@ -76,7 +76,8 @@
<li><a href="#Installation">Installation</a></li>
<li><a href="#GettingStarted">Getting Started</a></li>
<li><a href="#Tutorial">Tutorial and User Manual</a></li>
- <!--<li><a href="#Screenshots">Screenshots</a></li>-->
+ <li><a href="#ZeroConf">ZeroConf - Zero Configuration</a></li>
+ <!--<li><a href="#Screenshots">Screenshots</a></li>-->
</ul>
<h1>So what is it really?</strong></h1>
<p><a name="WhatIsIt"> </a>It's a GUI-based Log viewer. A picture tells a thousand words...</p>
@@ -120,13 +121,37 @@
</ol>
</p>
<p>This applies to distributions.</p>
+ <h1>ZeroConf - Zero Configuration</strong></h1>
+ <p><a name="ZeroConf" />Chainsaw has ZeroConf elements embedded within it, but you'll need to add a few things
+ to your application to enable <b>your</b> application.</p>
+ <p>Download:</p>
+ <ol>
+ <li><a href="http://logging.apache.org/log4j/docs/webstart/chainsaw/log4j-zeroconf.zip">log4j ZeroConf extension</a></li>
+ <li><a href="http://sourceforge.net/projects/jmdns/">JmDNS bundle</a></li>
+ <li>Add the <code>log4j-zeroconf.jar</code> and the <code>jmdns.jar</code> from these bundles and add them to your
+ application's classpath. </li>
+ <li>Modify your log4j configuration so that it use the ZeroConfSocketHubAppender. Here is a complete log4j.xml file that you can use as a base:
+ <pre>
+<log4j:configuration debug="false" threshold="debug" xmlns:log4j="http://jakarta.apache.org/log4j/>
+ <appender name="zeroconf" class="org.apache.log4j.net.ZeroConfSocketHubAppender">
+ <param name="Name" value="MyZeroConfSockeHubAppender" />
+ </appender>
+ <!--ROOT Logger-->
+ <root>
+ <level value="INFO" />
+ <appender-ref ref="zeroconf" />
+ </root>
+</log4j:configuration>
+ </pre>
+ </li>
+ </ol>
- <hr/>
+ <hr/>
-
+
<!-- FOOTER -->
Modified: logging/log4j/trunk/src/xdocs/chainsaw.xml
URL: http://svn.apache.org/viewcvs/logging/log4j/trunk/src/xdocs/chainsaw.xml?rev=380310&r1=380309&r2=380310&view=diff
==============================================================================
--- logging/log4j/trunk/src/xdocs/chainsaw.xml (original)
+++ logging/log4j/trunk/src/xdocs/chainsaw.xml Thu Feb 23 18:35:55 2006
@@ -40,7 +40,8 @@
<li><a href="#Installation">Installation</a></li>
<li><a href="#GettingStarted">Getting Started</a></li>
<li><a href="#Tutorial">Tutorial and User Manual</a></li>
- <!--<li><a href="#Screenshots">Screenshots</a></li>-->
+ <li><a href="#ZeroConf">ZeroConf - Zero Configuration</a></li>
+ <!--<li><a href="#Screenshots">Screenshots</a></li>-->
</ul>
</section>
@@ -100,6 +101,30 @@
<!--<section name="Screenshots">
<p><a name="Screenshots"/>Here's a few more screenshots to whet your appetite:</p>
</section>-->
-
+ <section name="ZeroConf - Zero Configuration">
+ <p><a name="ZeroConf"/>Chainsaw has ZeroConf elements embedded within it, but you'll need to add a few things
+ to your application to enable <b>your</b> application for ZeroConf.</p>
+ <p>Download:</p>
+ <ol>
+ <li><a href="http://logging.apache.org/log4j/docs/webstart/chainsaw/log4j-zeroconf.zip">log4j ZeroConf extension</a></li>
+ <li><a href="http://sourceforge.net/projects/jmdns/">JmDNS bundle</a></li>
+ <li>Add the <code>log4j-zeroconf.jar</code> and the <code>jmdns.jar</code> from these bundles and add them to your
+ application's classpath. </li>
+ <li>Modify your log4j configuration so that it use the ZeroConfSocketHubAppender. Here is a complete log4j.xml file that you can use as a base:
+ <pre>
+<log4j:configuration debug="false" threshold="debug" xmlns:log4j="http://jakarta.apache.org/log4j/>
+ <appender name="zeroconf" class="org.apache.log4j.net.ZeroConfSocketHubAppender">
+ <param name="Name" value="MyZeroConfSockeHubAppender" />
+ </appender>
+ <!--ROOT Logger-->
+ <root>
+ <level value="INFO" />
+ <appender-ref ref="zeroconf" />
+ </root>
+</log4j:configuration>
+ </pre>
+ </li>
+ </ol>
+ </section>
</body>
</document>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org