Migrate `log4j-slf4j2-impl` to JUnit 5 (#3080)

Migrate `log4j-slf4j2-impl` to JUnit 5.
10 files changed