Skip to content

Relax "Unable to get feature flag toggles" log message #199

Closed
@povilasb

Description

@povilasb

Is your feature request related to a problem? Please describe.

  1. UnleashClient produces these logs periodically:
WARNING: Unable to get feature flag toggles, using cached provisioning.
  1. The source:

    LOGGER.warning("Unable to get feature flag toggles, using cached provisioning.")

  2. This is a normal behavior and is triggered when response status code from unleash is 304:

    if resp.status_code == 304:

    i.e. no changes have been made to toggles

Describe the solution you'd like

Just use an info log message.

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