akka/akka-core

Provide log4j2 support in LoggingTestKit instead of logback-classic

Ouverte

#29 154 ouverte le 29 mai 2020

 (1 commentaire) (0 réaction) (0 personne assignée)Scala (3 547 forks)batch import
1 - triagedhelp wantedt:testingt:typed

Métriques du dépôt

Stars
 (13 277 étoiles)
Métriques de merge PR
 (Merge moyen 8j 19h) (10 PRs mergées en 30 j)

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.

Guide contributeur