Yes, this is a great tool. What I need to do is to do this
programatically. So, the application, at any point in time, will have
targets that have log4j log files. At user's request, which would be a
get of all files, with some date/time constraints, the application
will have to combine the log files, filter on date/time and present
the log entries in "some tbd" format...

What I was wondering is that:
1. Does log4j has anything to support such  things as concatenation of
log files, searching and filtering of log files?
2. If not, is there any other package that does similar things.

It sounds like the ChainSaw approach is not a programmatic way to do
this. Correct me if I am wrong.

Thanks
Reza

On Tue, Sep 16, 2008 at 4:11 PM, Scott Deboy <[EMAIL PROTECTED]> wrote:
> You can use Chainsaw V2 along with a LogFilePatternReceiver to view and
> aggregate log files.
>
> You can filter/search and colorize using the built-in expression syntax,
> which does support date ranges, but it's a bit verbose.  Example:
>
> TIMESTAMP >= '2008/09/08 09:41:23' && TIMESTAMP <= '2008/09/08 09:41:24'
>
> To aggregate log files, I'd load all of the log files into Chainsaw and
> then use the 'View-Create custom expression LogPanel' menu item, and
> then specify an expression defining the events you want to see in the
> new view (a new tab will be created containing those aggregated events).
>
> You can find Chainsaw V2 here:
>
> http://logging.apache.org/chainsaw/
>
>
>
> Scott Deboy
> Principal Engineer
> COMOTIV SYSTEMS
> 111 SW Columbia Street Ste. 950
> Portland, OR  97201
> Office: 503.224.7496
> Direct Line: 503.821.6482
> Cell: 503.997.1367
> Fax: 503.222.0185
> [EMAIL PROTECTED]
> www.comotivsystems.com
>
> -----Original Message-----
> From: Reza Razavipour [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 16, 2008 3:38 PM
> To: Log4J Users List
> Subject: log4j files and parsing and presentation
>
> All,
>
> I am tasked with writing a log4j file aggregator/viewer. Search
> criteria such as date ranges and etc...
>
> Any support for log4j file parsing? Combining a set of log files?
>
> Any pointers are appreciated.
>
> Thanks
> Reza
>
> ---------------------------------------------------------------------
> 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to