From 4ae7d883ab77d1d8b7fda54330cc4816df9ef60f Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Thu, 9 Jul 2020 12:28:16 +1000 Subject: [PATCH] Move access logs to their own section They should not be under Servlet, as they apply globally. --- docs/src/main/asciidoc/http-reference.adoc | 38 +++++++++++----------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/src/main/asciidoc/http-reference.adoc b/docs/src/main/asciidoc/http-reference.adoc index 749b4d9eb1bc7..b092050b1eba2 100644 --- a/docs/src/main/asciidoc/http-reference.adoc +++ b/docs/src/main/asciidoc/http-reference.adoc @@ -221,25 +221,7 @@ If no unit suffix is given, bytes are assumed. * `quarkus.http.limits.max-header-size` ==== -== Servlet Config - -To use Servlet you need to explicitly include `quarkus-undertow`: - -[source, xml] ----- - - io.quarkus - quarkus-undertow - ----- - -=== undertow-handlers.conf - -You can make use of the Undertow predicate language using an `undertow-handlers.conf` file. This file should be placed -in the `META-INF` directory of your application jar. This file contains handlers defined using the -link:http://undertow.io/undertow-docs/undertow-docs-2.0.0/index.html#predicates-attributes-and-handlers[Undertow predicate language]. - -=== Configuring HTTP Access Logs +== Configuring HTTP Access Logs You can add HTTP request logging by configuring it in `application.properties`. There are two options for logging, either logging to the standard JBoss logging output, or logging to a dedicated file. @@ -279,6 +261,24 @@ include::{generated-dir}/config/quarkus-vertx-http-config-group-access-log-confi |Response header | | `%{o,response_header_name}` |=== +== Servlet Config + +To use Servlet you need to explicitly include `quarkus-undertow`: + +[source, xml] +---- + + io.quarkus + quarkus-undertow + +---- + +=== undertow-handlers.conf + +You can make use of the Undertow predicate language using an `undertow-handlers.conf` file. This file should be placed +in the `META-INF` directory of your application jar. This file contains handlers defined using the +link:http://undertow.io/undertow-docs/undertow-docs-2.0.0/index.html#predicates-attributes-and-handlers[Undertow predicate language]. + === web.xml If you are using a `web.xml` file as your configuration file, you can place it in the `src/main/resources/META-INF` directory.