aboutsummaryrefslogtreecommitdiffstats
path: root/swarm
diff options
context:
space:
mode:
authorholisticode <holistic.computing@gmail.com>2017-03-18 08:45:00 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-03-18 08:45:00 +0800
commitd97dea51ec30a084fc5b19c462edb230f18fce3c (patch)
treebb2d3350b26a08ab250faa15e373e46bdcaed534 /swarm
parent6d038e762b2ff5785d6884f09f869c45964647aa (diff)
downloaddexon-d97dea51ec30a084fc5b19c462edb230f18fce3c.tar.gz
dexon-d97dea51ec30a084fc5b19c462edb230f18fce3c.tar.zst
dexon-d97dea51ec30a084fc5b19c462edb230f18fce3c.zip
swarm/network/kademlia: set kademlia log output to debug instead of warn (#3787)
Diffstat (limited to 'swarm')
-rw-r--r--swarm/network/kademlia/kademlia.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/kademlia/kademlia.go b/swarm/network/kademlia/kademlia.go
index 8d731c038..bf976a3e1 100644
--- a/swarm/network/kademlia/kademlia.go
+++ b/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
// 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()