akka/akka-core

Provide log4j2 support in LoggingTestKit instead of logback-classic

開放

#29,154 建立於 2020年5月29日

 (1 則留言) (0 個反應) (0 位負責人)Scala (3,547 個分叉)batch import
1 - triagedhelp wantedt:testingt:typed

倉庫指標

星標
 (13,277 顆星)
PR 合併指標
 (平均合併 8天 19小時) (30 天內合併 10 個 PR)

描述

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.

貢獻者指南