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 合并指标
 (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.

贡献者指南