akka/akka-core
View on GitHubProvide log4j2 support in LoggingTestKit instead of logback-classic
Open
#29,154 opened on May 29, 2020
1 - triagedhelp wantedt:testingt:typed
Repository metrics
- Stars
- (13,277 stars)
- PR merge metrics
- (Avg merge 8d 19h) (10 merged PRs in 30d)
Description
LoggingTestKit requires logback-classic library to be on the classpath. We can see this in the implementation at https://github.com/akka/akka/blob/master/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/internal/LoggingTestKitImpl.scala#L120
log4j2 (https://logging.apache.org/log4j/2.x/) is the successor to logback and it will be great to move the dependency in LoggingTestKit to use log4j2 instead.