Ah, but %D is the time taken to process the request in ms.  It's not the
timestamp.

On Tue, Sep 16, 2008 at 3:14 PM, David Fisher <[EMAIL PROTECTED]>wrote:

> It is. The docs are here:
>
> http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html
>
> I use
>
>            <Valve className="org.apache.catalina.valves.AccessLogValve"
>                   directory="logs"  prefix="unity_access." suffix=".log"
> pattern="%h %v %t %s %b %D %{RUNNING}c %r"/>
>
> The "AccessLogValve" must be used and it is the %D spec that show
> milliseconds.
>
> Tomcat 5.5.x
>
> Regards,
> Dave
>
>
> On Sep 16, 2008, at 11:39 AM, Jonathan Mast wrote:
>
>  Is it possible to obtain timestamps with millisecond precision in access
>> logs?  I don't see anything about specifying the date-time stamps on
>> AccessLogValve page and was wondering if there wasn't a way to get this
>> data.
>>
>> Tomcat 5.5
>>
>> Thanks
>>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to