Skip to content

Commit b504d82

Browse files
authored
doc: add note about using logback 1.3.x+ (#8846)
Logback 1.3.x breaks binary compatability, and cannot be used in some cases with Micronaut 3.8.x This commit adds this fact to the documentation
1 parent be3f487 commit b504d82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/docs/guide/logging/logback.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ To use the logback library, add the following dependency to your build.
22

33
dependency:ch.qos.logback:logback-classic[gradleScope="implementation"]
44

5+
NOTE: Logback 1.3.x+ included a breaking binary change that may prevent it working with 3.8.x of the Micronaut framework. If you are using Logback 1.3.x+ and are experiencing issues, please downgrade to Logback 1.2.x.
6+
57
If it does not exist yet, place a link:https://logback.qos.ch/manual/configuration.html[logback.xml] file in the resources folder and modify the content for your needs. For example:
68

79
.src/main/resources/logback.xml

0 commit comments

Comments
 (0)