You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A library that integrates Logback Access with Reactor Netty HTTP server, providing comprehensive access logging capabilities.
8
+
A Java/Kotlin library that integrates Logback Access with Reactor Netty HTTP server, providing comprehensive access logging capabilities.
9
9
10
10
## Overview
11
11
12
-
This library serves as a bridge between the Reactor Netty HTTP logging mechanism and the Logback Access library. It enables detailed HTTP access logging with configurable formats, filters, and appenders through Logback Access configuration.
12
+
**Reactor Netty HTTP Server** is a non-blocking, asynchronous server built on the Netty networking framework and used as the default runtime for handling HTTP requests in Spring WebFlux. It enables reactive, event-driven processing of web requests, making it well-suited for scalable and high-throughput applications. In Spring Boot, it's automatically configured when building reactive applications with the `spring-boot-starter-webflux` dependency.
13
+
14
+
**Logback Access** is a module of the Logback logging framework that provides HTTP access logging capabilities, similar to those in servlet containers like Tomcat or Jetty. It allows logging of incoming HTTP requests and responses using customizable patterns and supports easy configuration through an XML file.
15
+
16
+
**Logback Access for Reactor Netty** library serves as a bridge between the Reactor Netty HTTP logging mechanism and the Logback Access library. It enables detailed HTTP access logging with configurable formats, filters, and appenders through Logback Access configuration.
13
17
14
18
## Features
15
19
@@ -38,14 +42,14 @@ This library serves as a bridge between the Reactor Netty HTTP logging mechanism
1.**Default configuration** uses `logback-access.xml` file in the classpath.
83
+
1.**Default configuration** uses `logback-access.xml` file on the classpath.
80
84
2.**System property.** Set `-Dlogback.access.reactor.netty.config` property to specify configuration file location.
81
85
3.**Programmatic configuration.** Provide configuration file filename or URL of the resource directly:
82
86
```java
@@ -105,7 +109,6 @@ public class NettyAccessLogConfiguration {
105
109
```
106
110
107
111
#### Kotlin
108
-
109
112
```kotlin
110
113
@Configuration
111
114
classNettyAccessLogConfiguration {
@@ -116,6 +119,7 @@ class NettyAccessLogConfiguration {
116
119
}
117
120
}
118
121
```
122
+
See [enableLogbackAccess()](https://dmitrysulman.github.io/logback-access-reactor-netty/logback-access-reactor-netty/io.github.dmitrysulman.logback.access.reactor.netty/enable-logback-access.html) extension function documentation.
119
123
120
124
## Documentation
121
125
@@ -128,5 +132,5 @@ class NettyAccessLogConfiguration {
0 commit comments