pstoremgr: reduce verbosity
Since we bootstrap regularly know this causes lots of verbosity in the console, specially when a bootstrap peer is not there.
This commit is contained in:
parent
97549152cc
commit
10947c837a
|
@ -311,14 +311,14 @@ func (pm *Manager) Bootstrap(count int) []peer.ID {
|
|||
continue
|
||||
}
|
||||
|
||||
logger.Infof("connecting to %s", pinfo.ID)
|
||||
logger.Debugf("connecting to %s", pinfo.ID)
|
||||
err := pm.host.Connect(ctx, pinfo)
|
||||
if err != nil {
|
||||
logger.Warning(err)
|
||||
logger.Debug(err)
|
||||
pm.SetPriority(pinfo.ID, 9999)
|
||||
continue
|
||||
}
|
||||
logger.Infof("connected to %s", pinfo.ID)
|
||||
logger.Debugf("connected to %s", pinfo.ID)
|
||||
totalConns++
|
||||
connectedPeers = append(connectedPeers, pinfo.ID)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user