Browse Source

Include time since startup in full scrape debug output

dynamic-accesslists
erdgeist 17 years ago
parent
commit
53bce09735
  1. 2
      opentracker.c

2
opentracker.c

@ -382,7 +382,7 @@ LOG_TO_STDERR( "stats: %d.%d.%d.%d - mode: s24s old\n", h->ip[0], h->ip[1], h->i
/* Full scrape... you might want to limit that */ /* Full scrape... you might want to limit that */
if( !byte_diff( data, 12, "scrape HTTP/" ) ) { if( !byte_diff( data, 12, "scrape HTTP/" ) ) {
LOG_TO_STDERR( "scrp: %d.%d.%d.%d - FULL SCRAPE\n", h->ip[0], h->ip[1], h->ip[2], h->ip[3] ); LOG_TO_STDERR( "[%08d] scrp: %d.%d.%d.%d - FULL SCRAPE\n", (unsigned int)(g_now - ot_start_time), h->ip[0], h->ip[1], h->ip[2], h->ip[3] );
write( 2, static_tmpbuf, l ); write( 2, static_tmpbuf, l );
if( !( reply_size = return_fullscrape_for_tracker( &reply ) ) ) HTTPERROR_500; if( !( reply_size = return_fullscrape_for_tracker( &reply ) ) ) HTTPERROR_500;

Loading…
Cancel
Save