Skip to content

[flagd] Add log output on invalid env vars #1673

@guidobrei

Description

@guidobrei

When flagd options in env vars cannot be parsed, we should log.
Currently we silently fall back to a default value.

TBD: Which log level is appropriate?

I'm in favor for ERROR. Reason: It's a misconfiguration that can lead to unexpected behavior and requires user intervention.

Originally posted by @chrfwow in #1624 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions