Skip to content

Commit

Permalink
Merge pull request quarkusio#10591 from stuartwdouglas/http-logs
Browse files Browse the repository at this point in the history
Move access logs to their own section
  • Loading branch information
gastaldi authored Jul 9, 2020
2 parents 9cd11ae + 4ae7d88 commit 4fa78b0
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions docs/src/main/asciidoc/http-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
----
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-undertow</artifactId>
</dependency>
----

=== 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.
Expand Down Expand Up @@ -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]
----
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-undertow</artifactId>
</dependency>
----

=== 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.
Expand Down

0 comments on commit 4fa78b0

Please sign in to comment.