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 Thu, 09 Jun 2005 10:47:23 GMT
Its the time for Servlet.service(...) to be processed. [Which includes any 
middleware/application server and database processings]

-Tim

TK wrote:
> Is the time recorded (using %D) includes time taken for
> middleware/application server and database processings?
> 
> 
> On 6/7/05, Tim Funk <funkman@joedog.org> wrote:
> 
>>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
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 

---------------------------------------------------------------------
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