Blamer-io / hub

Blamer Core Engine
MIT License
5 stars 3 forks source link

Failed to bind properties #66

Open iColdLight opened 1 year ago

iColdLight commented 1 year ago

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?

l3r8yJ commented 1 year ago

@PavelRyauzov can you help us here?

PavelRyauzov commented 1 year ago

@l3r8yJ @iColdLight Check this issue please, maybe solution is here https://github.com/quarkusio/quarkus/issues/27266