mirror of
git://erdgeist.org/opentracker
synced 2025-02-04 11:06:42 +00:00
Include time since startup in full scrape debug output
This commit is contained in:
parent
c59e44ba94
commit
53bce09735
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user