Skip to content

Commit b3773a1

Browse files
committed
Upgrade to Log4j2 2.23.0
Closes gh-39713
1 parent 352f2eb commit b3773a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-boot-project/spring-boot-dependencies/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ bom {
842842
]
843843
}
844844
}
845-
library("Log4j2", "2.22.1") {
845+
library("Log4j2", "2.23.0") {
846846
group("org.apache.logging.log4j") {
847847
imports = [
848848
"log4j-bom"

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/logging/log4j2/CorrelationIdConverterTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -57,7 +57,7 @@ static class TestLogEvent extends AbstractLogEvent {
5757
@Override
5858
public ReadOnlyStringMap getContextData() {
5959
return new JdkMapAdapterStringMap(
60-
Map.of("traceId", "01234567890123456789012345678901", "spanId", "0123456789012345"));
60+
Map.of("traceId", "01234567890123456789012345678901", "spanId", "0123456789012345"), true);
6161
}
6262

6363
}

0 commit comments

Comments
 (0)