Skip to content

Commit

Permalink
fix logging level
Browse files Browse the repository at this point in the history
  • Loading branch information
justxuewei committed Jul 25, 2021
1 parent 3ab0ab6 commit 6a595bf
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 @@ -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
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 6a595bf

Please sign in to comment.