display as error (#7724)

tokarchuk/v1.17
Lunny Xiao 5 years ago committed by Lauris BH
parent 76408d50fb
commit 7d9a13035e
  1. 2
      routers/init.go

@ -54,7 +54,7 @@ func initDBEngine() (err error) {
} else if i == setting.DBConnectRetries-1 {
return err
}
log.Debug("ORM engine initialization attempt #%d/%d failed. Error: %v", i+1, setting.DBConnectRetries, err)
log.Error("ORM engine initialization attempt #%d/%d failed. Error: %v", i+1, setting.DBConnectRetries, err)
log.Info("Backing off for %d seconds", int64(setting.DBConnectBackoff/time.Second))
time.Sleep(setting.DBConnectBackoff)
}

Loading…
Cancel
Save