I will try to explain the issue as far as I understand it.
I start the app and receive the following error:
Failed to bind properties under 'logging.level.io.blamer.hub' to org.springframework.boot.logging.LogLevel:
Property: logging.level.io.blamer.hub
Value: "${APP_LOG_LEVEL}"
Origin: class path resource [application.yaml] - 17:20
Reason: failed to convert java.lang.String to org.springframework.boot.logging.LogLevel (caused by java.lang.IllegalArgumentException: No enum constant org.springframework.boot.logging.LogLevel.${APP_LOG_LEVEL})
Action:
Update your application's configuration. The following values are valid:
DEBUG
ERROR
FATAL
INFO
OFF
TRACE
WARN
For now, I fixed it by taking the actual systemPropertyVariables from pom.xml file and pasting them into application.yaml file. So, I don't have links to systemPropertyVariables in my application.yaml file (like ${POSTGRES_USER}, ${POSTGRES_PASSWORD}, etc.), but there are the actual values rewritten from the pom file. The question is - how do I fix it?
I will try to explain the issue as far as I understand it. I start the app and receive the following error:
Failed to bind properties under 'logging.level.io.blamer.hub' to org.springframework.boot.logging.LogLevel: Property: logging.level.io.blamer.hub Value: "${APP_LOG_LEVEL}" Origin: class path resource [application.yaml] - 17:20 Reason: failed to convert java.lang.String to org.springframework.boot.logging.LogLevel (caused by java.lang.IllegalArgumentException: No enum constant org.springframework.boot.logging.LogLevel.${APP_LOG_LEVEL}) Action: Update your application's configuration. The following values are valid: DEBUG ERROR FATAL INFO OFF TRACE WARN
For now, I fixed it by taking the actual systemPropertyVariables from pom.xml file and pasting them into application.yaml file. So, I don't have links to systemPropertyVariables in my application.yaml file (like ${POSTGRES_USER}, ${POSTGRES_PASSWORD}, etc.), but there are the actual values rewritten from the pom file. The question is - how do I fix it?