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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]