Skip to content

Commit

Permalink
fix logging level (#1341)
Browse files Browse the repository at this point in the history
  • Loading branch information
justxuewei authored Jul 26, 2021
1 parent 9aeb7ff commit 86fe9e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,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
Expand Down Expand Up @@ -218,7 +218,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
}

Expand Down

0 comments on commit 86fe9e3

Please sign in to comment.