我有一个包含多个配置文件的 akka 项目。当应用程序启动(或停止)出现错误时,是否可以打印 akka 合并配置事件?
最佳答案
来自 Configuration :
If the system or config property
akka.log-config-on-start
is set toon
, then the complete configuration at INFO level is logged when the actor system is started.
在您的配置文件中添加配置以将整个配置打印为
akka {
log-config-on-start = "on"
}
关于scala - 如何在启动时打印 akka 配置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26646467/