Welcome to the home of Chainsaw v2!
Chainsaw v2 is a companion application to Log4j written by members of the Log4j development community. Like a number of Open Source projects, this new version was built upon inspirations, ideas and creations of others. Chainsaw v2 has it's roots from the original Chainsaw utility written by Oliver Burn, and with inspiration from the Log Factor 5 utility contributed by ThoughtWorks Inc.
Latest Build Date: 2006-03-02 (SVN tag 'release_20060302')
It's a GUI-based Log viewer. A picture tells a thousand words...
These screen shots were taken on Windows 2000, running Sun JDK 1.4.2.
Rather than rely on a combination of tail/grep/vi or equivalent to view/query/trace-through a huge trail of logging events, you can use Chainsaw. Chainsaw can read log files formatted in Log4j's XMLLayout, receive events from remote locations, read events from a DB, it can even work with the JDK 1.4 logging events.
Heres just a brief run down of some of the features of Chainsaw v2:
"LOGGER == 'com.mycompany' && LEVEL == ERROR"
).Chainsaw already includes help with with a Quick Reference and a Tutorial to get you started, all viewable from within the GUI!. A User Manual will be made available around release time.
Due to Java classloading rules, it is impossible to ship the Jakarta Commons VFS extension to Chainsaw OR have DBReceiver or JMSReceiver bundled with Chainsaw. Several VFS filestore implementation jars cannot be shipped with Chainsaw because of licensing issues, and for JMSReceiver and DBReceiver you are required to have proprietary driver jars locally which we obviously can't ship. You can follow these steps to enable the DB, JMS and/or VFS components inside Chainsaw.
This applies to all distributions.
Chainsaw has ZeroConf elements embedded within it, but you'll need to add a few things to your application to enable your application for ZeroConf.
Download:
log4j-zeroconf.jar
and the jmdns.jar
from these bundles and add them to your
application's classpath. <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>