mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
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:
commit
1e4d605ab7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user