summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Minko <vitaly.minko@gmail.com>2019-09-15 07:10:07 +0300
committerVitaly Minko <vitaly.minko@gmail.com>2019-09-15 07:10:07 +0300
commitddd2f80973149efccf7c24dbcad389fb1162b312 (patch)
tree1e6cbd9fd23c09e71bf6d15756a91d5631317ea9
parent91e83c1aa4d16c709f56a1e83ad182936aa23e7b (diff)
Disabled verbose DHT debugger.
-rw-r--r--p2p/dht_crawler.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/p2p/dht_crawler.go b/p2p/dht_crawler.go
index 96391f3..29aa66d 100644
--- a/p2p/dht_crawler.go
+++ b/p2p/dht_crawler.go
@@ -89,10 +89,10 @@ func (dc *DHTCrawler) Start() {
if err != nil {
log.Fatalf("Failed to create a DHT node: %v", err)
}
- if log.IsDebugEnabled() {
- dl := &dhtLogger{}
- dc.dht.DebugLogger = dl
- }
+ //if log.IsDebugEnabled() {
+ // dl := &dhtLogger{}
+ // dc.dht.DebugLogger = dl
+ //}
err = dc.dht.Start()
if err != nil {
log.Fatalf("Failed to start DHT node: %v", err)