This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch activemq-5.17.x
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/activemq-5.17.x by this push:
new 97251314f AMQ-9357: Upgrade to log4j 2.21.1
97251314f is described below
commit 97251314f4cda646b71f31263cfcc2db7ced879f
Author: Jean-Baptiste Onofré <[email protected]>
AuthorDate: Sat Oct 21 15:03:30 2023 +0200
AMQ-9357: Upgrade to log4j 2.21.1
(cherry picked from commit 8051b7fa74cb9d608e6a8b6b3dd9e4d6cbf4d9c9)
---
activemq-web-console/pom.xml | 2 ++
pom.xml | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/activemq-web-console/pom.xml b/activemq-web-console/pom.xml
index dee092f2b..a0460ce0f 100644
--- a/activemq-web-console/pom.xml
+++ b/activemq-web-console/pom.xml
@@ -265,10 +265,12 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
+ <scope>provided</scope>
</dependency>
<!-- JSTL support -->
diff --git a/pom.xml b/pom.xml
index 1b8220176..1209a8620 100644
--- a/pom.xml
+++ b/pom.xml
@@ -83,7 +83,7 @@
<junit-version>4.13.2</junit-version>
<hamcrest-version>1.3</hamcrest-version>
<karaf-version>4.3.7</karaf-version>
- <log4j-version>2.20.0</log4j-version>
+ <log4j-version>2.21.1</log4j-version>
<mockito-version>3.8.0</mockito-version>
<owasp-dependency-check-version>7.1.1</owasp-dependency-check-version>
<mqtt-client-version>1.16</mqtt-client-version>