-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I managed to use Chainsaw successfully to read a text based log file with the following configuration XML. The only problem that the file is loaded one line at a time and it is extremely slow. Any idea what is wrong?
<?xml version="1.0" encoding="UTF-8"?>
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true">
<plugin class="org.apache.log4j.varia.LogFilePatternReceiver" name="/C:/apps/apache-chainsaw-2.1.0-standalone/sample.log">
<param name="appendNonMatches" value="true"/>
<param name="autoReconnect" value="true"/>
<param name="fileURL" value="file:/C:/apps/apache-chainsaw-2.1.0-standalone/sample.log"/>
<param name="timestampFormat" value="yyyy.MM.dd,hh:mm:ss.SSS"/>
<param name="logFormat" value="TIMESTAMP,CLASS,METHOD,THREAD, , , ,MESSAGE"/>
<param name="name" value="/C:/apps/apache-chainsaw-2.1.0-standalone/sample.log"/>
<param name="promptForUserInfo" value="false"/>
<param name="tailing" value="true"/>
<param name="waitMillis" value="1"/>
</plugin>
</log4j:configuration>
Metadata
Metadata
Assignees
Labels
No labels