How print akka configuration at startup?

…衆ロ難τιáo~ 提交于 2019-12-23 07:03:24

问题


I have a akka project with several config files. Is it possible to print akka merged configuration event when application starts (or stops) with errors?


回答1:


From 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.

Add the configuration in your config file to print the entire configuration as

akka {
  log-config-on-start = "on"
}


来源:https://stackoverflow.com/questions/26646467/how-print-akka-configuration-at-startup

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!