Opened 10 years ago

Closed 10 years ago

#3781 closed Enhancement (fixed)

Remove excessive bencode debug messages

Reported by: x190 Owned by: charles
Priority: Normal Milestone: 2.13
Component: libtransmission Version: 2.12
Severity: Normal Keywords: message log, connection blocking, logging
Cc:

Description

Currently the Message Log is overwhelmed by meaningless records of updates to stats.json and .resume files. Can these please be eliminated.

Sample Entry: 2010-11-28 18:55:31 -0700 bencode.c:1682 [Debug] Transmission: Renaming "/UsersLibrary/Application Support/Transmission/Resume/?.Xvid.AC3..0ee1b08e7776acea.resume.tmp.YtHpVQ" as "/UsersLibrary/Application Support/Transmission/Resume/?.Xvid.AC3..0ee1b08e7776acea.resume" 2010-11-28 19:01:31 -0700 bencode.c:1686 [Info] Transmission: Saved "/UsersLibrary/Application Support/Transmission?/stats.json"

On the other hand, it would be very useful to see outgoing blocked connections recorded.

Possible Format:' Outgoing connection to IP blocked by name of blocklist

Change History (9)

comment:1 Changed 10 years ago by livings124

  • Component changed from Mac Client to libtransmission
  • Owner changed from livings124 to charles

comment:2 Changed 10 years ago by livings124

You can filter the log to not show debug messages (by default it only shows error messages).

comment:3 Changed 10 years ago by charles

I agree that we could do without those two bencode debug messages. Done in r11445

comment:4 Changed 10 years ago by charles

  • Milestone changed from None Set to 2.13
  • Status changed from new to assigned

About the other half of this ticket... it's already there

https://trac.transmissionbt.com/browser/trunk/libtransmission/peer-mgr.c#L1738

comment:5 Changed 10 years ago by charles

  • Status changed from assigned to new
  • Summary changed from Message Log Enhancement and Connection Blocking Logging to Remove excessive bencode debug messages

comment:6 Changed 10 years ago by charles

  • Resolution set to fixed
  • Status changed from new to closed

comment:7 in reply to: ↑ description Changed 10 years ago by x190

Replying to x190:

Currently the Message Log is overwhelmed by meaningless records of updates to stats.json and .resume files. Can these please be eliminated.

Sample Entry: 2010-11-28 18:55:31 -0700 bencode.c:1682 [Debug] Transmission: Renaming "/UsersLibrary/Application Support/Transmission/Resume/?.Xvid.AC3..0ee1b08e7776acea.resume.tmp.YtHpVQ" as "/UsersLibrary/Application Support/Transmission/Resume/?.Xvid.AC3..0ee1b08e7776acea.resume" 2010-11-28 19:01:31 -0700 bencode.c:1686 [Info] Transmission: Saved "/UsersLibrary/Application Support/Transmission?/stats.json"

On the other hand, it would be very useful to see outgoing blocked connections recorded.

Possible Format:' Outgoing connection to IP blocked by name of blocklist

Charles,

Line c:549 seems redundant as well.

2010-12-03 19:26:31 -0700 resume.c:549 [Debug] HD Pack: Saving .resume file for "HD Pack" 2010-12-03 19:26:31 -0700 bencode.c:1683 [Info] Transmission: Saved "/UsersLibrary/Application Support/Transmission/Resume?/HD Pack.fd6c630ab98b5b77.resume"

Thanks, x190

comment:8 Changed 10 years ago by x190

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:9 Changed 10 years ago by charles

  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in r11455

Note: See TracTickets for help on using tickets.