Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Akka 文档解释了如何从一个参与者(http://doc.akka.io/docs/akka/snapshot/java/logging.html)中登录。但是如何从主管内部登录?
我基本上想记录主管捕获的任何异常。
我想我找到了答案,并意识到我的问题可能不对。我需要 SupervisorStrategy 来实际记录异常。当我创建我的主管 UntypedActor 时,它可以定义一个 SupervisorStrategy,它应该能够访问封闭的 UntypedActor 的(最终)记录器。