Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How print akka configuration at startup?

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?

like image 720
Cherry Avatar asked Oct 30 '14 06:10

Cherry


1 Answers

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"
}
like image 81
mohit Avatar answered Oct 22 '22 07:10

mohit