Mike,
This is the same question as I had before and Scott answered my question
very quickly. So, don't bother him. :)
I think the current version of Chainsaw2 still has that bug, if you want to
enable the tailing function, you have to create a new entry in your
Chainsaw2 configuration file. The sample configuration will be accessed by
clicking the "View example Receiver configuration" button on the 'welcome'
tab. And you could add a new plug-in like this one:
<plugin name="patternFile"
class="org.apache.log4j.varia.LogFilePatternReceiver">
<param name="timestampFormat" value="yyyy-MM-d HH:mm:ss,SSS"/>
<param name="logFormat" value="TIMESTAMP LEVEL [LOGGER] MESSAGE"/>
<param name="fileName" value="c:/server.log"/>
<param name="tailing" value="true"/>
</plugin>
Then you should restart your Chainsaw2 and point to this modified
configuration file when it started up. You could search for the conversation
between Scott and me around on 7/12/04 for more details. Hope this solves
your question.
Good Luck.
Bing
-----Original Message-----
From: Mike Blake-Knox [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 9:52 AM
To: 'Log4J Users List'
Subject: Tailing XML file
I'm generating an XML log file and would like to have chainsaw "tail" it so
I can see the most recent messages. I can open the file, I can set "scroll
to bottom" but chainsaw refuses to add new entries.
I've tried the log file receiver which has a tail property but I don't seem
to be able to change it to "true", it keeps reverting to "false".
Quite a number of errors are displayed when I "ant chainsaw". I hope this is
normal and the Webstart version behaves the same as described above.
Any advice on how to get this running?
Thanks
Mike Blake-Knox
email: [EMAIL PROTECTED]
TSYS Office: (706) 644-3643
cellphone: (706) 570-4641
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]