Merge pull request #38403 from jonatan-ivanov

* pr/38403:
  Update access log pattern to align with Tomcat 10

Closes gh-38403
This commit is contained in:
Phillip Webb 2023-11-20 20:35:21 -08:00
commit 1e4d605ab7

View File

@ -362,7 +362,7 @@ For instance, the following settings log access on Tomcat with a {tomcat-docs}/c
basedir: "my-tomcat" basedir: "my-tomcat"
accesslog: accesslog:
enabled: true 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. 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: undertow:
accesslog: accesslog:
enabled: true enabled: true
pattern: "%t %a %r %s (%D ms)" pattern: "%t %a %r %s (%D milliseconds)"
options: options:
server: server:
record-request-start-time: true record-request-start-time: true