diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index aaa87a03f2..45df2202d9 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -842,7 +842,7 @@ bom { ] } } - library("Log4j2", "2.22.1") { + library("Log4j2", "2.23.0") { group("org.apache.logging.log4j") { imports = [ "log4j-bom" diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/logging/log4j2/CorrelationIdConverterTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/logging/log4j2/CorrelationIdConverterTests.java index 87d9b22cf3..7f1a692eff 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/logging/log4j2/CorrelationIdConverterTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/logging/log4j2/CorrelationIdConverterTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2023 the original author or authors. + * Copyright 2012-2024 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. @@ -57,7 +57,7 @@ class CorrelationIdConverterTests { @Override public ReadOnlyStringMap getContextData() { return new JdkMapAdapterStringMap( - Map.of("traceId", "01234567890123456789012345678901", "spanId", "0123456789012345")); + Map.of("traceId", "01234567890123456789012345678901", "spanId", "0123456789012345"), true); } }