magneticod: latest status messages now of priority info (rather than warn)
This commit is contained in:
parent
f8a780068c
commit
87cec4ec37
@ -88,7 +88,7 @@ func (s *TrawlingService) trawl() {
|
|||||||
if len(s.routingTable) == 0 {
|
if len(s.routingTable) == 0 {
|
||||||
s.bootstrap()
|
s.bootstrap()
|
||||||
} else {
|
} else {
|
||||||
zap.L().Warn("Latest status:", zap.Int("n", len(s.routingTable)),
|
zap.L().Info("Latest status:", zap.Int("n", len(s.routingTable)),
|
||||||
zap.Uint("maxNeighbors", s.maxNeighbors))
|
zap.Uint("maxNeighbors", s.maxNeighbors))
|
||||||
s.findNeighbors()
|
s.findNeighbors()
|
||||||
s.routingTable = make(map[string]*net.UDPAddr)
|
s.routingTable = make(map[string]*net.UDPAddr)
|
||||||
|
Loading…
Reference in New Issue
Block a user