问题
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 toon
, 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