Skip to content

Change WARN when ConfigMap <appname>-profile does not exist. #1990

@FlorianSchaetz

Description

@FlorianSchaetz

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

Currently, org.springframework.cloud.kubernetes.commons.config.ConfigUtils logs a WARN when no ConfigMap <appName>-kubernetes exists.

LOG.warn("sourceName : " + sourceName + " was requested, but not found in namespace : " + namespace);

In many cases, this seems to be a false positive and only clutters the log.

Describe the solution you'd like

Either setting this as INFO or adding a way to configure this behaviour would be appreciated.

Describe alternatives you've considered

Filtering out this specific log message seems excessive and overly complicated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions