Update access log pattern to align with Tomcat 10
As of Tomcat 10 "%D" changed to mean microseconds instead of milliseconds. See gh-38403
This commit is contained in:
committed by
Phillip Webb
parent
a1db63b726
commit
d5c22b9f5a
@@ -362,7 +362,7 @@ For instance, the following settings log access on Tomcat with a {tomcat-docs}/c
|
||||
basedir: "my-tomcat"
|
||||
accesslog:
|
||||
enabled: true
|
||||
pattern: "%t %a %r %s (%D ms)"
|
||||
pattern: "%t %a %r %s (%D microseconds)"
|
||||
----
|
||||
|
||||
NOTE: The default location for logs is a `logs` directory relative to the Tomcat base directory.
|
||||
@@ -377,7 +377,7 @@ Access logging for Undertow can be configured in a similar fashion, as shown in
|
||||
undertow:
|
||||
accesslog:
|
||||
enabled: true
|
||||
pattern: "%t %a %r %s (%D ms)"
|
||||
pattern: "%t %a %r %s (%D milliseconds)"
|
||||
options:
|
||||
server:
|
||||
record-request-start-time: true
|
||||
|
||||
Reference in New Issue
Block a user