Может ли кто-нибудь поделиться минимальным примером ведения журнала с типизированным akka? В akka classic я использовал LoggingReceive и установил в src/main/resources/application.conf
akka {
loglevel = DEBUG
actor {
debug {
receive=on
}
}
}
а в акке набрал непонятно что делать. Если возможно, я бы хотел, чтобы ведение журнала работало и с akka.actor.testkit.
Я попытался просто добавить, как было предложено здесь
Behaviors.receive[String] { (ctx, message) =>
ctx.log.info("Received message: {}", message)
Behaviors.same
}
Но ничего не печатается, что заставляет меня думать, что мне нужно как-то настроить серверную часть, возможно, с помощью logback.xml (хотя я этого не понял)