Skip to content

Commit f6ce25f

Browse files
committed
Merge branch '2.6.x' into 2.7.x
Closes gh-31976
2 parents 3e6b4e6 + c500d8e commit f6ce25f

File tree

1 file changed

+5
-0
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto

1 file changed

+5
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,13 @@ Access logging for Undertow can be configured in a similar fashion, as shown in
401401
accesslog:
402402
enabled: true
403403
pattern: "%t %a %r %s (%D ms)"
404+
options:
405+
server:
406+
record-request-start-time: true
404407
----
405408

409+
Note that, in addition to enabling access logging and configuring its pattern, recording request start times has also been enabled.
410+
This is required when including the response time (`%D`) in the access log pattern.
406411
Logs are stored in a `logs` directory relative to the working directory of the application.
407412
You can customize this location by setting the configprop:server.undertow.accesslog.dir[] property.
408413

0 commit comments

Comments
 (0)