Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] How to log request time with milliseconds


I am using AbstractNCSARequestLog with setLogDateFormat("HH:mm:ss,SSS"); to log in NCSA format with milliseconds.

Now in recent versions of Jetty this class was deleted with suggestion to use CustomRequestLog with EXTENDED_NCSA_FORMAT.

But it logs request time without millis.

Is there any simple way to log milliseconds too without writing my own CustomRequestLog with almost the same content (and delete DateCache logic).

Thanks in advance!

Back to the top