-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mohit,

On 1/20/2010 4:18 PM, Mohit Anchlia wrote:
> On the same note. Is there a way to log in access log at what time the
> request was received and time response was sent? I am planning to add
> more debug to see how long it waits before timing out.

It doesn't look like it:
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html

You could always write a filter to capture this information, though the
notion of "request received" and "response sent" timestamps is a little
blurry: your request is never fully-read, so what's the timestamp for
that? If the request does complete, do you want the first-byte time or
the last-byte time? Or both? Same question for the response.

Finally, you can never really know exactly what time certain things
happen due to OS buffering, network lag, etc.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktXfk4ACgkQ9CaO5/Lv0PCz5QCgmHtU6bSsxTeTZ+/cXeZgdHAi
2kkAoLOvrdmaBcnMMesMFkAjlJ16Z0Cz
=nVpQ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to