swarm/network/kademlia: set kademlia log output to debug instead of warn

This commit is contained in:
Fabio Barone 2017-03-16 15:15:28 -05:00
parent 6d038e762b
commit 84a68f4357

View file

@ -116,7 +116,7 @@ func (self *Kademlia) DBCount() int {
// 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)
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()
self.lock.Lock()