Description
For ratis-server, slf4j-log4j12 is unused so that it can be removed directly.
For ratis-common, slf4j-log4j12 is only used in Slf4jUtils after RATIS-1728. We may use reflection to implement the setLevel method.
We also fix the following test problems:
- There is a "multiple SLF4J bindings" warning so ratis-test should exclude the slf4j-simple from ratis-shell.
- The following deprecation warnings.
[WARNING] /Users/szetszwo/ratis/apache-ratis/ratis-test/src/test/java/org/apache/ratis/server/raftlog/segmented/TestSegmentedRaftLog.java:[715,27] [deprecation] append(LogEntryProto...) in RaftLogSequentialOps has been deprecated [WARNING] /Users/szetszwo/ratis/apache-ratis/ratis-test/src/test/java/org/apache/ratis/datastream/TestDataStreamDisabled.java:[35,62] [deprecation] none() in ExpectedException has been deprecated
Attachments
Issue Links
- relates to
-
RATIS-1728 Avoid org.apache.log4j imports
- Resolved
- links to