Is the latency in Jetty Access Logs measured in milliseconds by default?

771 views Asked by At

I'm pretty new to Jetty and have a new web service to maintain. The access logs appear to use the default configuration and have lines like like the following one.

0:0:0:0:0:0:0:1 - - [19/Dec/2016:21:35:20 +0000] "GET /v1/customers/[email protected]/status HTTP/1.1" 200 65 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36" 3

I found a nice little article on the Jetty request log (i.e. access log) format. Unfortunately, the article doesn't state whether or not latency (the number at the end of the line - in this case 3) is measured in milliseconds by default. I found a blog article which states that latency is measured in ms by default but I thought that I would post this question in attempt to vet this fact.

So, does the default configuration of Jetty access logs measure latency in milliseconds?

Thanks.

1

There are 1 answers

0
Steps On BEST ANSWER

Yes, log latency is measured in milliseconds.

I will see what I can do about getting the doco updated. Edit: I've put in a PR to have it changed.