Re: log the time between each request being read and the first byte of the response served.

2010-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 LE, On 1/25/2010 5:46 AM, LE wrote: > thanks for the valve wrapper! No problem. I wrote a program a long time ago that scans a class and dumps a wrapper for it. :) > But still not sure where i can "grab" the time for the "first byte" > leaving tomca

Re: log the time between each request being read and the first byte of the response served.

2010-01-25 Thread LE
Chris, thanks for the valve wrapper! I played around now for some time, wrapped the response, attached some Action hook. But still not sure where i can "grab" the time for the "first byte" leaving tomcat to the client. I call now the response.getContentCount() method in every ActionHook action

Re: log the time between each request being read and the first byte of the response served.

2010-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 LE, On 1/13/2010 9:23 AM, LE wrote: > I am able to write my own "AccessLogValve Class" but i have no idea > how to get the "first byte" of the response. You have to wrap the response in an object which can record the time of the first byte being writ

log the time between each request being read and the first byte of the response served.

2010-01-13 Thread LE
ave discovered > that they aren't a good index of your server's performance, because they > depend > more on the client's connection speed, computer and browsing habits than on > the > speed of your server. > > mod_log_firstbyte is a module for Apache 2.0 which al