tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Glanville" <>
Subject RE: can tomcat give me page loadtime stats?
Date Thu, 09 Oct 2003 15:34:22 GMT
Good.  Thanks.  Now, a little help is requested in how to use
AccessLogValue.  (and now that I read the first answer, I realize that I
might not have phrased my question as unambiguously as possible).

I'd like to have the following information logged:
   page x took y milliseconds to create (or something like that)

According to
ache/catalina/valves/AccessLogValve.html, I would use %U for x (the
page's URL), but what would I use for y (the amount of time it took to
create the page)?  %t only gives me the date and time it was requested,
not how long it took Tomcat to calculate the page's contents.



> See the AccessLogValve javadocs.
> -Tim
> Glanville, Jay wrote:
> > Is there a way for tomcat to give me information on how 
> long it takes 
> > to load a page?
> > 
> > I have a web application upon which I wish to improve it's 
> > performance. Before I can do any attempts at improvement, I 
> need a way 
> > to measure its performance.  One of the ways that I was considering 
> > measuring this delta was to see how long Tomcat takes to 
> load a page.
> > 
> > Can tomcat product this information for me (configuration 
> setting, log 
> > files, etc)?  Or do I need to manually add timestamp information to 
> > the top and bottom of my page templates?
> > 
> > Suggestions appreciated.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message