Open LuQQiu opened 1 year ago
when excluding log4j, compile throws errors
t alluxio-core-common: Compilation failure: Compilation failure:
[ERROR] /Users/alluxio/alluxioFolder/alluxio/core/common/src/main/java/alluxio/util/LogUtils.java:[21,24] package org.apache.log4j does not exist
[ERROR] /Users/alluxio/alluxioFolder/alluxio/core/common/src/main/java/alluxio/util/LogUtils.java:[24,22] cannot find symbol
[ERROR] symbol: class Log4jLoggerAdapter
[ERROR] location: package org.slf4j.impl
[ERROR] /Users/alluxio/alluxioFolder/alluxio/core/common/src/main/java/alluxio/util/LogUtils.java:[78,47] package org.apache.log4j does not exist
[ERROR] /Users/alluxio/alluxioFolder/alluxio/core/common/src/main/java/alluxio/AlluxioRemoteLogFilter.java:[14,24] package org.apache.log4j does not exist
[ERROR] /Users/alluxio/alluxioFolder/alluxio/core/common/src/main/java/alluxio/AlluxioRemoteLogFilter.java:[15,28] package org.apache.log4j.spi does not exist
[ERROR] /Users/alluxio/alluxioFolder/alluxio/core/common/src/main/java/alluxio/AlluxioRemoteLogFilter.java:[16,28] package org.apache.log4j.spi does not exist
[ERROR] /Users/alluxio/alluxioFolder/alluxio/core/common/src/main/java/alluxio/AlluxioRemoteLogFilter.java:[25,45] cannot find symbol
[ERROR] symbol: class Filter
[ERROR] /Users/alluxio/alluxioFolder/alluxio/core/common/src/main/java/alluxio/AlluxioRemoteLogFilter.java:[92,21] cannot find symbol
[ERROR] symbol: class LoggingEvent
[ERROR] location: class alluxio.AlluxioRemoteLogFilter
[ERROR] -> [Help 1]
This includes real code changes
Alluxio Version: When running mvn dependency:tree
log4j 1.2.17 should be removed Describe the bug When running mvn dependency:tree
To Reproduce Steps to reproduce the behavior (as minimally and precisely as possible)
Expected behavior A clear and concise description of what you expected to happen.
Urgency Describe the impact and urgency of the bug.
Are you planning to fix it Please indicate if you are already working on a PR.
Additional context Add any other context about the problem here.