LeafiWan
LeafiWan

Reputation: 185

How to add milliscond field in jetty request log?

The default timestamp in jetty's request log is supporting second level only. How to record the arrival time of a request on the millisecond level?

Upvotes: 0

Views: 499

Answers (1)

jmehrens
jmehrens

Reputation: 11045

According to the Jetty Administration Guide - Chapter 11. Jetty Logging it can use various logging libraries. You'll have to include details on the Jetty configuration.

If it is setup using java.util.logging then you can set the pattern by following: How to configure GlassFish logging to show milliseconds in timestamps.

Upvotes: 2

Related Questions