Here are instructions and a sample xml config file for use with chainsaw.
Change the xml file to define a 'plugin' for each event source you would like to view in Chainsaw - socket, file, etc. You can define as many receiver plugins as you'd like (this example will load a jboss log file). Let us know if you have further questions... Directions Inside Chainsaw, select: view-show application wide preferences - enter the URL of this chainsaw.xml in the 'automatic configuration URL' field (for example: file:///c:/downloads/chainsaw-jboss.xml) - restart chainsaw chainsaw-jboss.xml.xml: ------------------------------ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true"> <plugin name="logFileReceiver" class="org.apache.log4j.varia.LogFilePatternReceiver"> <param name="fileURL" value="file:///c:/downloads/jboss/server/default/log/server.log" /> <param name="timestampFormat" value="HH:mm:ss,SSS"/> <param name="logFormat" value="TIMESTAMP LEVEL [LOGGER] MESSAGE"/> <param name="name" value="jboss-log-file" /> <param name="tailing" value="true" /> </plugin> <root> <level value="debug"/> </root> </log4j:configuration> ------------------------------ -----Original Message----- From: Oleg Lebedev [mailto:[EMAIL PROTECTED] Sent: Fri 11/5/2004 3:50 PM To: [EMAIL PROTECTED] Cc: Subject: Save Chainsaw State Greetings. I've been using Chainsaw for a couple of weeks and it works great for me. One thing I cannot figure out is how to save Chainsaw receiver information and have it loaded the next time Chainsaw is started. I found a couple of log4j.xml files, which contain plugin definitions for the receiver, but I don't know where I should put this file so that Chainsaw can read it when restarted. Any hints would be appreciated. Thanks. Oleg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
