diff --git a/core/spring-boot/src/test/java/org/springframework/boot/logging/logback/SpringBootJoranConfiguratorTests.java b/core/spring-boot/src/test/java/org/springframework/boot/logging/logback/SpringBootJoranConfiguratorTests.java index d3a2b4141df..0b08bbe8ac2 100644 --- a/core/spring-boot/src/test/java/org/springframework/boot/logging/logback/SpringBootJoranConfiguratorTests.java +++ b/core/spring-boot/src/test/java/org/springframework/boot/logging/logback/SpringBootJoranConfiguratorTests.java @@ -339,7 +339,8 @@ class SpringBootJoranConfiguratorTests { - + + diff --git a/core/spring-boot/src/test/java/org/springframework/boot/logging/logback/TestPropertyCondition.java b/core/spring-boot/src/test/java/org/springframework/boot/logging/logback/TestPropertyCondition.java new file mode 100644 index 00000000000..e9adc7bdc4c --- /dev/null +++ b/core/spring-boot/src/test/java/org/springframework/boot/logging/logback/TestPropertyCondition.java @@ -0,0 +1,34 @@ +/* + * Copyright 2012-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.springframework.boot.logging.logback; + +import ch.qos.logback.core.boolex.PropertyConditionBase; + +/** + * Test condition used by {@link SpringBootJoranConfiguratorTests}. + * + * @author Stephane Nicoll + */ +@SuppressWarnings("unused") +public class TestPropertyCondition extends PropertyConditionBase { + + @Override + public boolean evaluate() { + return property("MINE").contains("true"); + } + +} diff --git a/platform/spring-boot-dependencies/build.gradle b/platform/spring-boot-dependencies/build.gradle index b01d7270d1b..513f09e0005 100644 --- a/platform/spring-boot-dependencies/build.gradle +++ b/platform/spring-boot-dependencies/build.gradle @@ -1386,7 +1386,7 @@ bom { releaseNotes("https://github.com/apache/logging-log4j2/releases/tag/rel%2F{version}") } } - library("Logback", "1.5.34") { + library("Logback", "1.5.38") { group("ch.qos.logback") { modules = [ "logback-classic",