Opened 12 years ago

Closed 12 years ago

#2281 closed Enhancement (fixed)

Please add some logging related to DHT.

Reported by: User294 Owned by: charles
Priority: Normal Milestone: 1.74
Component: libtransmission Version: 1.72
Severity: Normal Keywords: dht
Cc: 1100101@…, jch@…

Description

It will be great if at least some logging will be added for DHT activity. Right now it almost impossible to get idea if DHT has started, if it operated properly, what's wrong, etc.

Even with debug log level, clients are not outputting anything about DHT activity. I believe this is wrong since application connectivity troubleshooting by using network sniffer is a really time-consuming and inconvenient task. It should be possible to check DHT operations by less painful methods. This means there should be some logs.

Attachments (2)

dht-0.8-typo.patch (972 bytes) - added by jch 12 years ago.
Fix a typo in dht-0.8
dht-logging.patch (6.0 KB) - added by jch 12 years ago.
Add some logging to the DHT code

Download all attachments as: .zip

Change History (8)

comment:1 Changed 12 years ago by KyleK

  • Cc 1100101@… added

comment:2 Changed 12 years ago by jch

  • Cc jch@… added

comment:3 Changed 12 years ago by jch

  • Keywords dht added

Changed 12 years ago by jch

Fix a typo in dht-0.8

Changed 12 years ago by jch

Add some logging to the DHT code

comment:4 Changed 12 years ago by jch

Charles, I've tried to follow your style, but I've had some doubts. No offense if you decide to rephrase some of my messages.

--Juliusz

comment:5 Changed 12 years ago by charles

  • Milestone changed from None Set to 1.74
  • Owner set to charles
  • Status changed from new to assigned

thanks for the patch Juliusz!

committed to trunk in r8880 for 1.74 or 1.80, whichever comes first.

comment:6 Changed 12 years ago by charles

  • Component changed from Transmission to libtransmission
  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.