Re: [BIG CHANGE] Switch logger from log4j2 to slf4j

2023-03-22 Thread Vinoth Chandar
+1 as long as we don't break logging/bundling across all the 7 odd engines
Hudi is integrated into :)

On Wed, Feb 22, 2023 at 12:41 AM Danny Chan  wrote:

> Many popular Apache projects use slf4j now to avoid unnecessary
> conflicts, like the Apache Spark, Apache Flink,etc. slf4j is a bridge
> jar/interface for log4j/log4j2 to avoid conflicts, log4j2 is also a
> easy-conflicting jar even though it has more stable API than log4j
>
> As a bridge jar, slf4j relies on an impl jar like log4j2, that means
> both jars are needed to a complete logger system.
>
> For Hudi developers, we suggest always using slf4j instead for
> subsequent changes.
>
> Related change: https://github.com/apache/hudi/pull/7955
>
> Best,
> Danny
>


[BIG CHANGE] Switch logger from log4j2 to slf4j

2023-02-22 Thread Danny Chan
Many popular Apache projects use slf4j now to avoid unnecessary
conflicts, like the Apache Spark, Apache Flink,etc. slf4j is a bridge
jar/interface for log4j/log4j2 to avoid conflicts, log4j2 is also a
easy-conflicting jar even though it has more stable API than log4j

As a bridge jar, slf4j relies on an impl jar like log4j2, that means
both jars are needed to a complete logger system.

For Hudi developers, we suggest always using slf4j instead for
subsequent changes.

Related change: https://github.com/apache/hudi/pull/7955

Best,
Danny