Brian C. Hill wrote:

        Hi All,

        First, has anyone used analog for tomcat logs? I would like to
see some LOGFORMAT examples for tomcat logs.



Check the archive. I am sure it's been done and probably there are samples there.


        Second, since I can't find a way to get tomcat to write entries
to separate, vhost-based log files, I prepended %v to the tomcat log
format. Is there a way to have one pass of analog read one log and
split results for multiple vhosts into separate reports, or do I have
to run analog multiple times with different VHOSTINCLUDE settings each
time? I can't find splitlog tool.



Hmmm... if you are customizing the tomcat logs then you will probably have to roll your own LOGFORMAT.

Analog produces one report per run. So it won't work the way you want to. You might be able to improve performance by running the logs through a pre-parser that splits them into separate files based on virtual hostname. Then Analog only has to read the pertinent lines. Apache used to ship a program called splitlogs that did this.


-- Jeremy Wadsack Seven Simple Machines


+------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------

Reply via email to