Re: log analyzer?

2001-11-13 Thread hische





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]




Re: log analyzer?

2001-11-12 Thread Tom Oinn



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]