Opened 10 years ago

Closed 10 years ago

#4396 closed Enhancement (fixed)

Scrape requests not showing in logfile

Reported by: gunzip Owned by: jordan
Priority: Low Milestone: 2.40
Component: Daemon Version: 2.33
Severity: Minor Keywords:
Cc:

Description

after running two torrents for several hours overnight, the logfile (message level = 3) only documents one scrape request:

$ grep -i -e 'scrape' -e 'scraping' ./logfile
Torrent_1 Scrape successful. Rescraping in 1800 seconds. (announcer.c:1336)

there is no record of a scrape request on the second torrent, nor is there any indication of subsequent scrapes at the scheduled intervals.

i believe this behavior has been present with the last several stable releases also.

transmission-daemon 2.33+ (12605), Linux Debian

Change History (6)

comment:1 follow-up: Changed 10 years ago by jordan

This sounds like a repeat of #4187. If the announce response contains the scrape response fields too, as some trackers do, then the Transmission doesn't send a redundant scrape.

comment:2 Changed 10 years ago by gunzip

yes this is definitely related but in #4187 i thought (wrongly) that TR was making extra unneeded scrape requests, but here i just was curious about the lack of the info in the logfile.

in this particular example, both torrents had exact same tracker both nothing re scrapes ever showed for Torrent_2.

comment:3 in reply to: ↑ 1 Changed 10 years ago by gunzip

Replying to jordan:

If the announce response contains the scrape response fields too, as some trackers do, then the Transmission doesn't send a redundant scrape.

would it be possible to write this scrape info that is embedded in the announce response to the logfile? .. assuming the coding doesn't become overly complicated.

comment:4 follow-up: Changed 10 years ago by jordan

  • Milestone changed from None Set to 2.40
  • Owner set to jordan
  • Status changed from new to assigned
  • Version changed from 2.33+ to 2.33

r12683 should fix this.

comment:5 in reply to: ↑ 4 Changed 10 years ago by gunzip

Replying to jordan:

r12683 should fix this.

perfect .. it's nice to finally see the scrape logs unhidden

comment:6 Changed 10 years ago by jordan

  • Resolution set to fixed
  • Status changed from assigned to closed
  • Type changed from Bug to Enhancement
Note: See TracTickets for help on using tickets.