You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Moon <cm...@fas.harvard.edu> on 2002/05/03 16:55:04 UTC
Log the amount of time taken to complete a request...
Good Morning,
Is it possible for Tomcat to log the amount of taken to complete a
request.
With Apache you can use %T in your custom log directive. Is there
anything similar in Tomcat?
Thanks
Chris
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Log the amount of time taken to complete a request...
Posted by peter lin <pe...@labs.gte.com>.
actually I double checked again and it looks like it was because the
transfer wasn't complete even though the page displayed in the browser.
I waited longer in between reload and the numbers come out the same.
peter
Christopher Moon wrote:
>
> I think that is the size in bytes of the request. If I am wrong that
> would be excellent!
>
> Thanks
> Chris
>
> -----Original Message-----
> From: peter lin [mailto:peter.lin@labs.gte.com]
> Sent: Friday, May 03, 2002 10:59 AM
> To: Tomcat Users List
> Subject: Re: Log the amount of time taken to complete a request...
>
> I thought it already does in the access log.
>
> 127.0.0.1 - - [11/Apr/2002:14:21:44 -0500] "GET
> /test.jsp?A=me&B=this&C=test HTTP/1.0" 200 17317
>
> Isn't the number after 200 the response in milliseconds?
>
> peter
>
> Christopher Moon wrote:
> >
> > Good Morning,
> >
> > Is it possible for Tomcat to log the amount of taken to complete a
> > request.
> >
> > With Apache you can use %T in your custom log directive. Is there
> > anything similar in Tomcat?
> >
> > Thanks
> > Chris
> >
> > --
> > To unsubscribe: <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Log the amount of time taken to complete a request...
Posted by peter lin <pe...@labs.gte.com>.
Hmm.... I think it's response time. Here is more access log entries.
127.0.0.1 - - [03/May/2002:12:30:09 -0500] "GET /people.jsp HTTP/1.0"
200 20106
127.0.0.1 - - [03/May/2002:12:30:44 -0500] "GET /people.jsp HTTP/1.0"
200 7168
127.0.0.1 - - [03/May/2002:12:30:44 -0500] "GET /people.jsp HTTP/1.0"
200 7168
127.0.0.1 - - [03/May/2002:12:30:47 -0500] "GET /people.jsp HTTP/1.0"
200 7168
127.0.0.1 - - [03/May/2002:12:30:47 -0500] "GET /people.jsp HTTP/1.0"
200 7168
127.0.0.1 - - [03/May/2002:12:30:47 -0500] "GET /people.jsp HTTP/1.1"
200 20129
127.0.0.1 - - [03/May/2002:12:30:47 -0500] "GET /people.jsp HTTP/1.0"
200 20106
127.0.0.1 - - [03/May/2002:12:30:55 -0500] "GET /people.jsp HTTP/1.0"
200 20106
127.0.0.1 - - [03/May/2002:12:31:02 -0500] "GET /people.jsp HTTP/1.0"
200 8192
127.0.0.1 - - [03/May/2002:12:31:02 -0500] "GET /people.jsp HTTP/1.1"
200 20129
127.0.0.1 - - [03/May/2002:12:31:06 -0500] "GET /people.jsp HTTP/1.0"
200 20106
peter
Christopher Moon wrote:
>
> I think that is the size in bytes of the request. If I am wrong that
> would be excellent!
>
> Thanks
> Chris
>
> -----Original Message-----
> From: peter lin [mailto:peter.lin@labs.gte.com]
> Sent: Friday, May 03, 2002 10:59 AM
> To: Tomcat Users List
> Subject: Re: Log the amount of time taken to complete a request...
>
> I thought it already does in the access log.
>
> 127.0.0.1 - - [11/Apr/2002:14:21:44 -0500] "GET
> /test.jsp?A=me&B=this&C=test HTTP/1.0" 200 17317
>
> Isn't the number after 200 the response in milliseconds?
>
> peter
>
> Christopher Moon wrote:
> >
> > Good Morning,
> >
> > Is it possible for Tomcat to log the amount of taken to complete a
> > request.
> >
> > With Apache you can use %T in your custom log directive. Is there
> > anything similar in Tomcat?
> >
> > Thanks
> > Chris
> >
> > --
> > To unsubscribe: <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
RE: Log the amount of time taken to complete a request...
Posted by Christopher Moon <cm...@fas.harvard.edu>.
I think that is the size in bytes of the request. If I am wrong that
would be excellent!
Thanks
Chris
-----Original Message-----
From: peter lin [mailto:peter.lin@labs.gte.com]
Sent: Friday, May 03, 2002 10:59 AM
To: Tomcat Users List
Subject: Re: Log the amount of time taken to complete a request...
I thought it already does in the access log.
127.0.0.1 - - [11/Apr/2002:14:21:44 -0500] "GET
/test.jsp?A=me&B=this&C=test HTTP/1.0" 200 17317
Isn't the number after 200 the response in milliseconds?
peter
Christopher Moon wrote:
>
> Good Morning,
>
> Is it possible for Tomcat to log the amount of taken to complete a
> request.
>
> With Apache you can use %T in your custom log directive. Is there
> anything similar in Tomcat?
>
> Thanks
> Chris
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Log the amount of time taken to complete a request...
Posted by peter lin <pe...@labs.gte.com>.
I thought it already does in the access log.
127.0.0.1 - - [11/Apr/2002:14:21:44 -0500] "GET
/test.jsp?A=me&B=this&C=test HTTP/1.0" 200 17317
Isn't the number after 200 the response in milliseconds?
peter
Christopher Moon wrote:
>
> Good Morning,
>
> Is it possible for Tomcat to log the amount of taken to complete a
> request.
>
> With Apache you can use %T in your custom log directive. Is there
> anything similar in Tomcat?
>
> Thanks
> Chris
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>