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.
Hi Reza,
Just use the best tools for the job: Perl, cat, sed, awk, and bash. Of course
Interesting, that's sort of what I was intending to do with my Apache
Lab project called Pinpoint:
http://svn.apache.org/repos/asf/labs/pinpoint/
The goal of that project is to be able to become a central logging
repository. It has support to soak events via network sockets (Socket/
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
On 17/09/2008, at 11:35 AM, Reza Razavipour wrote:
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
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