summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2007-10-19 22:20:42 +0000
committererdgeist <>2007-10-19 22:20:42 +0000
commit53bce09735a532d62cf5f3221354752b0235fc2d (patch)
tree6daa288c7fe893455548cca36d48e31e016fa01a /opentracker.c
parentc59e44ba94abc0346f6b8fa33c6cbe8c4dfcab23 (diff)
Include time since startup in full scrape debug output
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c
index f2a7e84..4ad42f0 100644
--- a/opentracker.c
+++ b/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
382 /* Full scrape... you might want to limit that */ 382 /* Full scrape... you might want to limit that */
383 if( !byte_diff( data, 12, "scrape HTTP/" ) ) { 383 if( !byte_diff( data, 12, "scrape HTTP/" ) ) {
384 384
385LOG_TO_STDERR( "scrp: %d.%d.%d.%d - FULL SCRAPE\n", h->ip[0], h->ip[1], h->ip[2], h->ip[3] ); 385LOG_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] );
386write( 2, static_tmpbuf, l ); 386write( 2, static_tmpbuf, l );
387 387
388 if( !( reply_size = return_fullscrape_for_tracker( &reply ) ) ) HTTPERROR_500; 388 if( !( reply_size = return_fullscrape_for_tracker( &reply ) ) ) HTTPERROR_500;