i got chainsaw to work (please see attached).
so chainsaw received /lots/ of records from 7 hosts and ran for many
hours and then hung (i was running on a laptop).
the records from each host were in a separate tab.
but the sample.log file had 0 bytes.
i am new to log4j and chainsaw, so please forgive the dumb questions.
i would like too see everything, so should i make <param
name="Threshold" value="ALL" /> for the appender and then <priority
value="all"/> for the root?
is there a way to get the records from each host into a different logfile?
is there a way to make the appender roll over more quickly or rollover
on a reconnection from the host?
ideally, it would rollover every day as well as on every reconnect or
when the log file got too big, and retain these files for a week or so.
thanks
--
Honesty is a very expensive gift. So, don't expect it from cheap people -
Warren Buffett
http://tayek.com/
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration >
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true">
<plugin name="XMLSocketReceiver" class="org.apache.log4j.net.XMLSocketReceiver">
<param name="decoder" value="org.apache.log4j.xml.UtilLoggingXMLDecoder"/>
<param name="Port" value="2222"/>
</plugin>
<appender name="fileAppender" class="org.apache.log4j.RollingFileAppender">
<param name="Threshold" value="INFO" />
<param name="File" value="chainsawtablet.log"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c{1}] %m %n" />
</layout>
</appender>
<root>
<priority value="debug"/>
<appender-ref ref="fileAppender" />
</root>
</log4j:configuration>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org