From 2f43715f6facf1d43e06c420ff5343bebe24137b Mon Sep 17 00:00:00 2001 From: Olga MaciaszekSharma Date: Thu, 10 Jun 2021 16:04:17 +0200 Subject: [PATCH] Change log level. Fixes gh-552. --- .../cloud/openfeign/FeignClientFactoryBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientFactoryBean.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientFactoryBean.java index c7a91fb0..0b4c74d3 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientFactoryBean.java +++ b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientFactoryBean.java @@ -373,8 +373,8 @@ public class FeignClientFactoryBean implements FactoryBean, 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()) {