Yes

1. Use LogFilePatternReceiver - see Chainsaw's Welcome page for an
example receiver configuration.  Each LogFilePatternReceiver config
processes a single file, so configure one specifying the URL to
mylog.log
2. No - the receiver can't recognize when the file has rolled - but
assuming the current file name is always the same, you can 'restart' the
receiver once it has rolled and Chainsaw will load the events in the new
file (mylog.log will continue to be processed)
3. Create a second LogFilePatternReceiver specifying the URL to
mylog.log.1

Scott

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Rakesh Patel
Sent: Wednesday, September 07, 2005 12:34 PM
To: [email protected]
Subject: Chainsaw and RollingFileAppender

Any have success using the RollingFileAppender with chainsaw?

1. How to create a "receiver" for such an thing? What is the appropriate
receiver to be created in chainsaw to handle a rollingFileAppender?

2. Will Chainsaw be able to appropriately switch the to latest log file
after a rollover has occured - i.e., when a rollover occurs and you now
have 2 files mylog.log and mylog.log.1 - where mylog.log is hte current
log file and the
mylog.log.1 is the rolled over log file.

3. In Chainsaw, how can i quickly switch to a previously rolled over
file, i.e,, say the currently log file is mylog.log, and rolled over
file is mylog.log.1. How can i view mylog.log.1?

Thanks

Rakesh



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