apache/dubbo

能不能统一一下log4j的版本啊。

Open

#8,694 opened on Sep 6, 2021

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Java (26,453 forks)batch import
help wantedtype/proposal

Repository metrics

Stars
 (41,524 stars)
PR merge metrics
 (Avg merge 7d 14h) (20 merged PRs in 30d)

Description

          <!-- Zookeeper dependencies -->
            <dependency>
                <groupId>org.apache.dubbo</groupId>
                <artifactId>dubbo-dependencies-zookeeper</artifactId>
                <version>${dubbo.version}</version>
                <type>pom</type>
            </dependency>

这个依赖中的zk中使用的log4j版本,,,而dubbo-spring-xxx中使用的是log4j2版本,导致我在测试check时,如果不配置logger不出现异常,,,,能不能统一一下日志框架版本呢,

不然我得在idea中的其它子模块中显式使用排除:

        <dependency>
            <groupId>org.apache.zookeeper</groupId>
            <artifactId>zookeeper</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>log4j</groupId>
                    <artifactId>log4j</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

代码很冗余啊,很多模块用到了zk,而zk用到了log4j。

Contributor guide