We want to be able to create log files from our Java application, which is suitable for further processing by tools that help investigate errors and collect performance statistics.
We currently use the traditional "journal material, which may or may not be flattened into text form and added to the log file", but this works best for a small amount of information read by a person.
After careful consideration, it was best to save the log events as XML fragments in text files (which are then processed like any other log file), and then download them to the computer using the appropriate tool for further processing.
I would like to use the most widely supported XML format possible, and now I am in the research-then-decision-decision phase. I would appreciate any help, both in terms of the XML format and with the tools, and I would be happy to write the glue code to get what I need.
What I have found so far:
log4j XML format: supported by chainsaw and Vigilog. Lilith XML format: Lilith supported
Unexplored tools:
Microsoft Log Parser: Apparently, it supports XML. OS X Log Viewer:
http://www.loganalysis.org/sections/parsing/generic-log-parsers/
?