From 6a595bf48a123c2cf07a4d22e6c8fd55713380ba Mon Sep 17 00:00:00 2001 From: XavierNiu Date: Sun, 25 Jul 2021 21:35:14 +0800 Subject: [PATCH] fix logging level --- config/config_loader.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config_loader.go b/config/config_loader.go index 48af47e6aa..847315861c 100644 --- a/config/config_loader.go +++ b/config/config_loader.go @@ -142,7 +142,7 @@ func checkApplicationName(config *ApplicationConfig) { func loadConsumerConfig() { if consumerConfig == nil { - logger.Warnf("consumerConfig is nil!") + logger.Debugf("Consumer will not be launched, because consumerConfig is not specified.") return } // init other consumer config @@ -229,7 +229,7 @@ func loadConsumerConfig() { func loadProviderConfig() { if providerConfig == nil { - logger.Warnf("providerConfig is nil!") + logger.Debugf("Provider will not be launched, because providerConfig is not specified.") return }