You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Xavier <xc...@gmail.com> on 2009/09/24 10:32:25 UTC

Time taken in millis in ExtendedAccessLogValve

Hello,

First of all, sorry if this question was alerady asked... 
We'd like to log the taken in milliseconds by tomcat (5.5 for now, 6.0
later) and our app to serve requests.
The ExtendedAccessLogValve provides a nice date/time output format, but the
doc says the time taken is logged in seconds, not in milliseconds.

Does anyone know how to bypass this limitation ? (and why such a limitation,
when the standard AccessLogValve can log the time taken in milliseconds ?)

Thank you in advance
Regards,
Xavier
-- 
View this message in context: http://www.nabble.com/Time-taken-in-millis-in-ExtendedAccessLogValve-tp25543452p25543452.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Time taken in millis in ExtendedAccessLogValve

Posted by Rainer Jung <ra...@kippdata.de>.
On 24.09.2009 10:32, Xavier wrote:
> 
> Hello,
> 
> First of all, sorry if this question was alerady asked... 
> We'd like to log the taken in milliseconds by tomcat (5.5 for now, 6.0
> later) and our app to serve requests.
> The ExtendedAccessLogValve provides a nice date/time output format, but the
> doc says the time taken is logged in seconds, not in milliseconds.
> 
> Does anyone know how to bypass this limitation ? (and why such a limitation,
> when the standard AccessLogValve can log the time taken in milliseconds ?)

I think there's no real reason for that. You might want to provide a
patch? It's simple, using ElapsedTimeElement(true) ...

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Time taken in millis in ExtendedAccessLogValve

Posted by Leon Rosenberg <ro...@googlemail.com>.
what you need is a performance monitoring tool :-)

like this one:

http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers

here how to install:

http://infra.anotheria.net/confluence/display/MSK/HowTo+Embed+Moskito+WebUI+In+Your+Application


regards
Leon

P.S. and it measures in nanoseconds :-)

On Thu, Sep 24, 2009 at 10:32 AM, Xavier <xc...@gmail.com> wrote:
>
> Hello,
>
> First of all, sorry if this question was alerady asked...
> We'd like to log the taken in milliseconds by tomcat (5.5 for now, 6.0
> later) and our app to serve requests.
> The ExtendedAccessLogValve provides a nice date/time output format, but the
> doc says the time taken is logged in seconds, not in milliseconds.
>
> Does anyone know how to bypass this limitation ? (and why such a limitation,
> when the standard AccessLogValve can log the time taken in milliseconds ?)
>
> Thank you in advance
> Regards,
> Xavier
> --
> View this message in context: http://www.nabble.com/Time-taken-in-millis-in-ExtendedAccessLogValve-tp25543452p25543452.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org