Chainsaw v2 and LogFilePatternReceiver can display log files with
arbitrary formats in the UI - with a few restrictions.

Here are links:

http://logging.apache.org/log4j/docs/chainsaw.html - see 'installation'
section for an ant script that can download & build

http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/apache/log4
j/varia/LogFilePatternReceiver.java?rev=1.6&view=auto - read javadocs
for information on how to specify the file format
(LogFilePatternReceivers are supported directly in the 'receiver' panel
of Chainsaw v2 - just hit the 'new' icon in the receiver panel and
specify the properties).

Let me know if you have questions,
Scott


-----Original Message-----
From: Alan Brown [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 30, 2004 2:13 PM
To: [EMAIL PROTECTED]
Subject: Static log reading tool...


Is there any gui tool out there to statically parse logs, pulling out
only the information I specify.  It could be done by assuming logging
messages are blank line bounded for instance and a search string for the
message could be defined with a regular expression.  In my case the
search string would be the session id so I could see only the logging
thread that pertained to the user that generated an error.
 
As a twist I'd like the tool to be able to get information from multiple
machines' log files and to make sure the output remains in chronological
order.
 
I'm thinking of writing something quick and dirty to do this if there's
nothing out there.  
 
Alan

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

Reply via email to