Cherry
Cherry

Reputation: 33628

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?

Upvotes: 14

Views: 4142

Answers (1)

mohit
mohit

Reputation: 4999

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"
}

Upvotes: 17

Related Questions