Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.
This repository was archived by the owner on May 30, 2024. It is now read-only.

[com.launchdarkly.client.LDClient] should not WARN about unknown feature flags in test mode.  #84

@luke-esther

Description

@luke-esther

When a feature flag cannot be found, the client logs at the WARN level:

Unknown feature flag example-feature-flag-key; returning default value

We find it useful in test mode to rely on the default value for features, and only enable/disable features as required. This means we don't have to configure our application to load a default flag list into the client.

The resulting logging statements are painful, and we would like if they could be suppressed in test mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions