tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Logging Server Responses
Date Tue, 07 Jun 2005 14:51:22 GMT
See 
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html

In particular:
%D - Time taken to process the request, in millis
%T - Time taken to process the request, in seconds

Otherwise use a filter and rely on:
%{xxx}r

-Tim

TK wrote:

> Hi,
> I'm looking for ways to log server (Tomcat) responses so that I could
> figure out the time taken (in ms) for Tomcat to process a client
> request. The information I need to record include:
> 
> 1. Request ID (e.g. client IP address and object requested),
> 2. Date and time (in ms) the request is received, 
> 3. Date and time (in ms) the corresponding response is sent.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message