Thank you a lot Kees,

  acctually I'm checking 2 possible implementations out. These two options
seems to be good.
  1- to use Servlet Filters
  2- to extend a AccessLogValve

  Regarding CPU time I have searched deep in the link you have passed me and
I found something about 
http://www.javaworld.com/javaworld/javatips/jw-javatip92.html?page=1 JVMPI 
(JVM Profiler Interface). It seems to offer a way to obtain such information

  So, thanks again

Best Regards


Kees Jan Koster wrote:
> 
> Dear Raphael,
> 
>> I've been working with performance measurements of web services and  
>> I've
>> faced this problem. For each request to my system (running in a  
>> tomcat 6) I
>> need to log these information:
>>
>>
>> Received Bytes (request content length)
>> Served Bytes (response content length)
>> Response Time (the time taken by the server to process the request)
>>
>>
>> CPU Time (optional)
>>
>> I/O Time (optional)
>>
>> URI
>> Cookies(the value of some specific cookies)
>> Request Content Data
> 
> 
> If you need this much detail, best write your own servlet filter and  
> log it yourself.
> 
> http://www.onjava.com/pub/a/onjava/2001/05/10/servlet_filters.html
> 
> CPU and I/O times are tricky. If you get that to work, let me know. :-)
> 
> --
> Kees Jan
> 
> http://java-monitor.com/forum/
> [EMAIL PROTECTED]
> 06-51838192
> 
> Human beings make life so interesting. Do you know that in a universe  
> so full of wonders,
> they have managed to invent boredom. Quite astonishing... -- Terry  
> Partchett
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


-----

---

Raphael Santos

http://www.inf.ufes.br/~santos http://www.inf.ufes.br/~santos 

-- 
View this message in context: 
http://www.nabble.com/Request-Logging-in-Tomcat-6-tp20561773p20578312.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to