This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-1.8
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/branch-1.8 by this push:
new 6ba7bfb83 ORC-1182: Use `slf4j-simple` instead of deprecated
`slf4j-log4j12`
6ba7bfb83 is described below
commit 6ba7bfb83519f80440d438d71c57ab564fc5a135
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sun May 22 21:08:55 2022 -0700
ORC-1182: Use `slf4j-simple` instead of deprecated `slf4j-log4j12`
### What changes were proposed in this pull request?
This PR aims to use `slf4j-simple` instead of the deprecated
`slf4j-log4j12`.
### Why are the changes needed?
https://www.slf4j.org/manual.html
> Binding/provider for [log4j version
1.2](http://logging.apache.org/log4j/1.2/index.html), a widely used logging
framework. Given that log4j 1.x has been declared EOL in 2015 and again in
2022, as of SLF4J 1.7.35, the slf4j-log4j module automatically redirects to the
slf4j-reload4j module at build time. Assuming you wish to continue to use the
log4j 1.x framework, we strongly encourage you to use slf4j-reload4j instead.
See below.
### How was this patch tested?
Pass the CI.
Closes #1132
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit bfa10e757f4c4c1639d3309f5fe6615881bec422)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
java/bench/core/pom.xml | 2 +-
java/bench/pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/java/bench/core/pom.xml b/java/bench/core/pom.xml
index 9315f47b8..6cdf70bb9 100644
--- a/java/bench/core/pom.xml
+++ b/java/bench/core/pom.xml
@@ -105,7 +105,7 @@
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
+ <artifactId>slf4j-simple</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
diff --git a/java/bench/pom.xml b/java/bench/pom.xml
index 50efb84e9..4f5c960df 100644
--- a/java/bench/pom.xml
+++ b/java/bench/pom.xml
@@ -437,7 +437,7 @@
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
+ <artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
<scope>runtime</scope>
</dependency>