Browse Source

Change log level. Fixes gh-552.

pull/556/head
Olga MaciaszekSharma 3 years ago
parent
commit
2f43715f6f
  1. 4
      spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientFactoryBean.java

4
spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientFactoryBean.java

@ -373,8 +373,8 @@ public class FeignClientFactoryBean implements FactoryBean<Object>, Initializing @@ -373,8 +373,8 @@ public class FeignClientFactoryBean implements FactoryBean<Object>, Initializing
Feign.Builder builder = feign(context);
if (!StringUtils.hasText(url)) {
if (url != null && LOG.isWarnEnabled()) {
LOG.warn(
if (url != null && LOG.isInfoEnabled()) {
LOG.info(
"The provided URL is empty. Will try picking an instance via load-balancing.");
}
else if (LOG.isDebugEnabled()) {

Loading…
Cancel
Save