gpt4 book ai didi

scala - 如何在启动时打印 akka 配置?

转载 作者:行者123 更新时间:2023-12-04 00:52:18 36 4
gpt4 key购买 nike

我有一个包含多个配置文件的 akka 项目。当应用程序启动(或停止)出现错误时,是否可以打印 akka 合并配置事件?

最佳答案

来自 Configuration :

If the system or config property akka.log-config-on-start is set to on, 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/

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com