You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by pr...@apache.org on 2021/12/20 11:14:50 UTC

[ranger] branch master updated: RANGER-3557: Upgrade to use log4j 2.17.0+ version to ensure that we are using supported version of log4j

This is an automated email from the ASF dual-hosted git repository.

pradeep pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/master by this push:
     new 0f9bfbe  RANGER-3557: Upgrade to use log4j 2.17.0+ version to ensure that we are using supported version of log4j
0f9bfbe is described below

commit 0f9bfbe3f35e9d02edaced2b08214d42edea8382
Author: pradeep <pr...@apache.org>
AuthorDate: Mon Dec 20 09:37:04 2021 +0530

    RANGER-3557: Upgrade to use log4j 2.17.0+ version to ensure that we are using supported version of log4j
---
 agents-audit/pom.xml | 4 ++--
 pom.xml              | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/agents-audit/pom.xml b/agents-audit/pom.xml
index 6b08388..5d031cc 100644
--- a/agents-audit/pom.xml
+++ b/agents-audit/pom.xml
@@ -319,12 +319,12 @@
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
             <artifactId>log4j-core</artifactId>
-            <version>${log4j.core.version}</version>
+            <version>${log4j2.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>
             <artifactId>log4j-api</artifactId>
-            <version>${log4j.core.version}</version>
+            <version>${log4j2.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.httpcomponents</groupId>
diff --git a/pom.xml b/pom.xml
index 9953d97..f9c46f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -163,6 +163,7 @@
         <libpam4j.version>1.10</libpam4j.version>
         <local.lib.dir>${project.basedir}/../lib/local</local.lib.dir>
         <log4j.version>1.2.17</log4j.version>
+        <log4j2.version>2.17.0</log4j2.version>
         <maven.exec.plugin.version>1.6.0</maven.exec.plugin.version>
         <maven.pmd.plugin.version>3.14.0</maven.pmd.plugin.version>
         <metrics.core.version>3.0.2</metrics.core.version>
@@ -227,7 +228,6 @@
         <lucene.version>8.4.0</lucene.version>
         <hppc.version>0.8.0</hppc.version>
         <joda.time.version>2.10.6</joda.time.version>
-        <log4j.core.version>2.16.0</log4j.core.version>
         <jsonsmart.version>2.3.1</jsonsmart.version>
         <nimbus-jose-jwt.version>8.22.1</nimbus-jose-jwt.version>
     </properties>