Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

distage-framework: Environment Variables aren't resolved in typesafe config files in RoleAppLauncher #869

Closed
neko-kai opened this issue Jan 29, 2020 · 1 comment
Assignees
Milestone

Comments

@neko-kai
Copy link
Member

neko-kai commented Jan 29, 2020

reported by @DmytroOrlov

// file: common-reference.conf
logger {
  levels = {
    "warn" = ["org.http4s.blaze.channel.nio1.NIO1SocketServerGroup"]
  }
  json = false
  json = ${?LOG_JSON}
}

exception:

phase=early Failed to read logger config section, using defaults: exception=DecodingFailure(Boolean, List(DownField(json)))
DecodingFailure(Boolean, List(DownField(json)))

real cause:
splicing env vars in typesafe-config causes failures in circe-config boolean codec, because this converts bools to strings

@neko-kai
Copy link
Member Author

neko-kai commented Jan 29, 2020

Pushed workaround for the specific issue in https://github.com/DmytroOrlov/logstage-resolve , #871
But, properly fixing this for all cases requires #790

@pshirshov pshirshov modified the milestones: 0.12, 0.11 Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants