Upgrade to Log4j2 2.23.0

Closes gh-39713
This commit is contained in:
Andy Wilkinson 2024-02-22 07:59:34 +00:00
parent 352f2eb83c
commit b3773a1f88
2 changed files with 3 additions and 3 deletions

View File

@ -842,7 +842,7 @@ bom {
] ]
} }
} }
library("Log4j2", "2.22.1") { library("Log4j2", "2.23.0") {
group("org.apache.logging.log4j") { group("org.apache.logging.log4j") {
imports = [ imports = [
"log4j-bom" "log4j-bom"

View File

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -57,7 +57,7 @@ class CorrelationIdConverterTests {
@Override @Override
public ReadOnlyStringMap getContextData() { public ReadOnlyStringMap getContextData() {
return new JdkMapAdapterStringMap( return new JdkMapAdapterStringMap(
Map.of("traceId", "01234567890123456789012345678901", "spanId", "0123456789012345")); Map.of("traceId", "01234567890123456789012345678901", "spanId", "0123456789012345"), true);
} }
} }