TC 5.x has this (accesable via JMX). I don't know if it will get back-ported to the 4.1 branch. However, as Peter said, it is a pretty simple Filter:
public class MyTimingFilter implements Filter { public MyTimingFilter() { } public void init(FilterConfig conf){ } public void destroy() { } public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { long start = System.currentTimeMillis(); chain.doFilter(req, res); long end = System.currentTimeMillis(); // Implement something here to record the times. } } "Garrett Dangerfield" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I've looked through the documentation I could find, and I looked through > the source for AccessLogValve and I didn't see the option for what I'm > looking for. > > I'm looking for getting a measurement of "page duration" (the time, > preferrably in milliseconds, between when the server originally receives > the first byte of a request and the time it sends the last byte of the > response). > > What I'm trying to do is monitor the server load/response time back to > the users, particularly by time of day. > > I've seen lots of test clients that do this, but I want to monitor my > actual production system to see how it's doing. > > Thank you, > Garrett. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]