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
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
D'oh! The catalina javadocs are out of date (but not by much) on the website.
In your local version of the javadoc, there should be the following:
%D - Time taken to process the request, in millis
%T - Time taken to process the request, in seconds
-Tim
Jay Glanville wrote:
Good. Thanks. Now,
To: Tomcat Users List
Subject: Re: can tomcat give me page loadtime stats?
D'oh! The catalina javadocs are out of date (but not by much) on the
website.
In your local version of the javadoc, there should be the following:
%D - Time taken to process the request, in millis
%T - Time taken to process
I have a feeling that these variables (%D and %T) are not available in
4.1.12 as they don't actually resolve to anything in the access log. I
can determine that they were added in AccessLogValue (ver 1.3), but I
don't know what the CVS tag is for version 4.1.12 (ver 1.3 has these
tags: s1ap8_i3,
yeah, %D and %T are newer than 4.1.12. If your stuck with that version -
you'll need to write a filter which logs to file.
-Tim
Jay Glanville wrote:
I have a feeling that these variables (%D and %T) are not available in
4.1.12 as they don't actually resolve to anything in the access log. I
You could also write a filter to measure performance.
http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html
Subir
-Original Message-
From: Jay Glanville [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 9:12 AM
To: 'Tomcat Users List'
Subject: RE: can tomcat give