I haven't seen the current 'tail' functionality work anywhere but on a local 
Windows hard drive.

'Tail' functionality can be implemented in VFSLogFilePatternReceiver, but some 
code changes are needed (use VFS's random access file support).

Scott Deboy
COMOTIV SYSTEMS
111 SW Columbia Street Ste. 950
Portland, OR  97201

Telephone:      503.224.7496
Cell:           503.997.1367
Fax:            503.222.0185

[EMAIL PROTECTED]

www.comotivsystems.com



-----Original Message-----
From: news on behalf of kern david
Sent: Wed 10/25/2006 2:56 AM
To: log4j-user@logging.apache.org
Subject:  chainsaw: log file via http does not refresh
 
Hi,

I'm trying to monitor an application with chainsaw, and the only way for us to
expose the log file is via http.
I managed to add receivers to get the file (tried LogFilePatternReceiver and
VFSLogFilePatternReceiver), but with none of them is chainsaw refreshing the
view, getting the lines I continually add to my log file.
My config is like this:

file url: http://localhost:8080/path/to/file.log
filter expression: <empty>
log format: LEVEL *TIMESTAMP LOGGER - MESSAGE
name: <don't care it's random>
tailing: true
timestamp format: yyyy-MM-d HH:mm:ss,SSS

this works for getting the file and everything, but it is not refreshed although
tailing is set to true.

What am I doing wrong?

I'm on Windows, and my .plugins directory contains (more than I need I think):
commons-codec-1.3.jar
commons-httpclient-3.0.1.jar
commons-logging-1.1.jar
commons-logging-adapters-1.1.jar
commons-logging-api-1.1.jar
commons-net-1.4.1.jar
commons-vfs-20060929.jar
jakarta-oro-2.0.8.jar
log4j-chainsaw-vfs.jar

So what can I do to make it work? Is it possible?

Thanks,

David.


---------------------------------------------------------------------
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]

Reply via email to