This is an automated email from the ASF dual-hosted git repository.
peacewong pushed a commit to branch dev-1.0.3
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git
The following commit(s) were added to refs/heads/dev-1.0.3 by this push:
new 2b138d4 upgrade log4j version to 2.17.0
new c227347 Merge pull request #1223 from casionone/log4j
2b138d4 is described below
commit 2b138d4e6f9357fee8284f3774b3444dd18410fd
Author: casionone <[email protected]>
AuthorDate: Tue Dec 21 13:18:59 2021 +0800
upgrade log4j version to 2.17.0
---
linkis-commons/linkis-common/pom.xml | 22 ++++++++++++++++++++++
.../linkis-client/linkis-cli/pom.xml | 1 -
pom.xml | 1 +
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/linkis-commons/linkis-common/pom.xml
b/linkis-commons/linkis-common/pom.xml
index ab02485..8270bb3 100644
--- a/linkis-commons/linkis-common/pom.xml
+++ b/linkis-commons/linkis-common/pom.xml
@@ -103,6 +103,28 @@
</dependency>
<dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-api</artifactId>
+ <version>${log4j2.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <version>${log4j2.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-jul</artifactId>
+ <version>${log4j2.version}</version>
+ </dependency>
+ <!--用于与sfl4j保持桥接-->
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-slf4j-impl</artifactId>
+ <version>${log4j2.version}</version>
+ </dependency>
+
+ <dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.1</version>
diff --git a/linkis-computation-governance/linkis-client/linkis-cli/pom.xml
b/linkis-computation-governance/linkis-client/linkis-cli/pom.xml
index d433a8e..3f03c42 100644
--- a/linkis-computation-governance/linkis-client/linkis-cli/pom.xml
+++ b/linkis-computation-governance/linkis-client/linkis-cli/pom.xml
@@ -94,7 +94,6 @@
<properties>
<apache.commons-lang3.version>3.9</apache.commons-lang3.version>
<junit.version>4.13.1</junit.version>
- <log4j2.version>2.13.3</log4j2.version>
</properties>
<build>
diff --git a/pom.xml b/pom.xml
index 270e3de..0bd70e7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -137,6 +137,7 @@
<assembly.package.rootpath>${basedir}</assembly.package.rootpath>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
+ <log4j2.version>2.17.0</log4j2.version>
</properties>
<dependencyManagement>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]