From 53bce09735a532d62cf5f3221354752b0235fc2d Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 19 Oct 2007 22:20:42 +0000 Subject: Include time since startup in full scrape debug output --- opentracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 /* Full scrape... you might want to limit that */ 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 ); if( !( reply_size = return_fullscrape_for_tracker( &reply ) ) ) HTTPERROR_500; -- cgit v1.2.3