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
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,9 +80,9 @@ HttpServer.create()
80
80
81
81
The library can be configured in several ways:
82
82
83
-
1.**Default configuration** uses `logback-access.xml` file on the classpath.
83
+
1.**Default configuration** uses the `logback-access.xml` file from the classpath or the current directory, with a fallback to the [Common Log Format](https://en.wikipedia.org/wiki/Common_Log_Format).
84
84
2.**System property.** Set `-Dlogback.access.reactor.netty.config` property to specify configuration file location.
85
-
3.**Programmatic configuration.** Provide configuration file filename or URL of the resource directly:
85
+
3.**Programmatic configuration.** Provide configuration file filename or URL of the classpath resource directly:
86
86
```java
87
87
// Using specific configuration file by the filename
88
88
var factory =newReactorNettyAccessLogFactory("/path/to/logback-access.xml");
Copy file name to clipboardExpand all lines: logback-access-reactor-netty/src/main/kotlin/io/github/dmitrysulman/logback/access/reactor/netty/ReactorNettyAccessLogFactory.kt
Copy file name to clipboardExpand all lines: logback-access-reactor-netty/src/test/kotlin/io/github/dmitrysulman/logback/access/reactor/netty/ReactorNettyAccessLogFactoryTests.kt
0 commit comments