Commit d97dea51 authored by holisticode's avatar holisticode Committed by Felix Lange

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

parent 6d038e76
...@@ -116,7 +116,7 @@ func (self *Kademlia) DBCount() int { ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment