tomcat log analyzer
Hello List, Does anyone know if there is a log analyzer written in JAVA for tomcat (4 or otherwise)? I know about Weblizer and AWStats, but they aren't written in Java... Thanks, ...Robin -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4 Log Analyzer
Hi guy's, I'm using Tomcat 4.0.1 and would like to use Webalizer to analyze the access log file. However, Webalizer not supported multiple log file and Tomcat output log file is daily based as in file localhost_access_log.date.txt My question here, is there any way to set the output of the Tomcat to combined all together into one log file like localhost_access_log.txt without rotating the log file into daily basic. Please cc me a copy of any solution since I'm not subcribing to the tomcat-user mailing list 'coz my mail box always full the last time I subcribed. Thank you in advance. Emanduel Chan
Re: log analyzer?
In server.xml (tomcat4) you can enable an AccessLogValve. This will produce log files in a common format that can be read by tools like webalizer. For more information on currently available valves see: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/valve.html Regards, Wilko - - - excerpt from server.xml - - - - - - - !-- Access log processes all requests for this virtual host. By default, log files are created in the logs directory relative to $CATALINA_HOME. If you wish, you can specify a different directory with the directory attribute. Specify either a relative (to $CATALINA_HOME) or absolute path to the desired directory. -- Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access. suffix=.log pattern=common/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: (bcc: Wilko Hische/HADV/NL) Subject: log analyzer? Hi friends, Is there any utility that can help to analyze the log file of Tomcat, such as webalizer for Apache? Thanks in advance. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
log analyzer?
Hi friends, Is there any utility that can help to analyze the log file of Tomcat, such as webalizer for Apache? Thanks in advance. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: log analyzer?
Y.H.Liu wrote: Hi friends, Is there any utility that can help to analyze the log file of Tomcat, such as webalizer for Apache? Thanks in advance. You could take a look at awstats, if you have tomcat-4 and set the log format to 'combined' then this works just fine out of the box, otherwise it's sufficiently configurable that you could probably get it to read the tc3 access logs. It's located at http://awstats.sourceforge.net, I'm running it fine on tru64 unix and win32 with activeperl. HTH. Tom -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
log analyzer?
Hi friends, Is there any utility that can help to analyze the log file of Tomcat, such as webalizer for Apache? Thanks in advance. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]