Here is the typesafe config documentatioin.
In accordance with this, you can override the following properties:
akka { loglevel = DEBUG loglevel = ${?LOG_LEVEL} }
So, in this case logLevel will be DEBUG or the value from the LOG_LEVEL system variable.
What about list configuration properties?
akka { someListProperty = ["oneValue"] someListProperty = [${?LOG_LEVEL}] }
In this case, if the system variable is missing, someListProperty will be overridden by an empty list.
How to set the default list value if there is no system variable?
source share