Allow spring properties to be used in logback <if> blocks

Reorder `SpringBootJoranConfigurator.addModelHandlerAssociations` so
that handlers are added before calling the super method. Prior to this
commit, handlers were added behind filters which prevented them from
being used in `<if>` blocks.

Fixes gh-33028
This commit is contained in:
Phillip Webb
2022-11-07 14:45:43 -08:00
parent 95557ddbc6
commit 0bdf7e8af7
5 changed files with 33 additions and 1 deletions

View File

@@ -55,6 +55,13 @@ bom {
]
}
}
library("Janino", "3.1.8") {
group("org.codehaus.janino") {
imports = [
"janino"
]
}
}
library("JLine", "2.11") {
prohibit("[2.12,)") {
because "it contains breaking changes"