From cc641d001a361e612d1b32197b53344f6f9b529b Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Wed, 9 Oct 2024 00:45:48 +0200 Subject: [PATCH] Update Log4j 2 to 2.24.1 This also needs a test dependency on log4j-core because since version 2.24.0 if no provider implementation is found a no-op ThreadContextMap is used, which causes test failures. However, for normal usage that is probably not relevant since there the user most likely will have some variant of Log4j provider, most likely log4j-core as runtime dependency (but possibly also another provider). Signed-off-by: Marcono1234 --- log4j2-propagation/pom.xml | 6 ++++++ pom.xml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/log4j2-propagation/pom.xml b/log4j2-propagation/pom.xml index 5037031a..3af441a0 100644 --- a/log4j2-propagation/pom.xml +++ b/log4j2-propagation/pom.xml @@ -47,5 +47,11 @@ log4j-api ${log4j2.version} + + org.apache.logging.log4j + log4j-core + ${log4j2.version} + test + diff --git a/pom.xml b/pom.xml index 88eb9649..3f4435ef 100644 --- a/pom.xml +++ b/pom.xml @@ -93,7 +93,7 @@ 6.3.3 4.0.1 2.0.16 - 2.23.1 + 2.24.1 5.11.2 1.5.8