Skip to content

Commit

Permalink
Change the log level
Browse files Browse the repository at this point in the history
  • Loading branch information
hghaf099 committed Mar 29, 2022
1 parent d7ac348 commit 3014cfb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions command/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ func (c *ServerCommand) runRecoveryMode() int {

// reporting Errors found in the config
for _, cErr := range configErrors {
c.logger.Error(cErr.String())
c.logger.Warn(cErr.String())
}

// Ensure logging is flushed if initialization fails
Expand Down Expand Up @@ -1123,7 +1123,7 @@ func (c *ServerCommand) Run(args []string) int {

// reporting Errors found in the config
for _, cErr := range configErrors {
c.logger.Error(cErr.String())
c.logger.Warn(cErr.String())
}

// Ensure logging is flushed if initialization fails
Expand Down Expand Up @@ -1574,7 +1574,7 @@ func (c *ServerCommand) Run(args []string) int {

// reporting Errors found in the config
for _, cErr := range configErrors {
c.logger.Error(cErr.String())
c.logger.Warn(cErr.String())
}

core.SetConfig(config)
Expand Down

0 comments on commit 3014cfb

Please sign in to comment.