swarm/network/kademlia: set kademlia log output to debug instead of warn (#3787)

pull/3802/head
holisticode 8 years ago committed by Felix Lange
parent 6d038e762b
commit d97dea51ec
  1. 2
      swarm/network/kademlia/kademlia.go

@ -116,7 +116,7 @@ func (self *Kademlia) DBCount() int {
// On is the entry point called when a new nodes is added // On is the entry point called when a new nodes is added
// unsafe in that node is not checked to be already active node (to be called once) // unsafe in that node is not checked to be already active node (to be called once)
func (self *Kademlia) On(node Node, cb func(*NodeRecord, Node) error) (err error) { func (self *Kademlia) On(node Node, cb func(*NodeRecord, Node) error) (err error) {
log.Warn(fmt.Sprintf("%v", self)) log.Debug(fmt.Sprintf("%v", self))
defer self.lock.Unlock() defer self.lock.Unlock()
self.lock.Lock() self.lock.Lock()

Loading…
Cancel
Save