Skip to content

Commit

Permalink
Merge branch '2.6.x' into 2.7.x
Browse files Browse the repository at this point in the history
Closes gh-31976
  • Loading branch information
wilkinsona committed Aug 3, 2022
2 parents 3e6b4e6 + c500d8e commit f6ce25f
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -401,8 +401,13 @@ Access logging for Undertow can be configured in a similar fashion, as shown in
accesslog:
enabled: true
pattern: "%t %a %r %s (%D ms)"
options:
server:
record-request-start-time: true
----

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

Expand Down

0 comments on commit f6ce25f

Please sign in to comment.