From dcd7ff618bf324f2b4da3dea4c0338b116533179 Mon Sep 17 00:00:00 2001 From: Martin Zuber Date: Mon, 28 Aug 2023 10:01:49 +0200 Subject: [PATCH] Add note for logging request times in HTTP access log Add a note to enable recording request start times when using any of the attributes related to logging request processing times in the HTTP access log. --- docs/src/main/asciidoc/http-reference.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/src/main/asciidoc/http-reference.adoc b/docs/src/main/asciidoc/http-reference.adoc index 1d35b8bf5fb92..b263355b21810 100644 --- a/docs/src/main/asciidoc/http-reference.adoc +++ b/docs/src/main/asciidoc/http-reference.adoc @@ -437,6 +437,11 @@ include::{generated-dir}/config/quarkus-vertx-http-config-group-access-log-confi |Vert.x MDC data (e.g. 'traceId' for OpenTelemetry) | | `%{X,mdc-key}` |=== +[NOTE] +==== +Set `quarkus.http.record-request-start-time=true` to enable recording request start times when using any of the attributes related to logging request processing times. +==== + [TIP] ==== Use `quarkus.http.access-log.exclude-pattern=/some/path/.*` to exclude all entries concerning the path `/some/path/...` (_including subsequent paths_) from the log.