%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, 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 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/org/ap 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.
Thanks
JDG
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]