From: phk Date: Wed, 2 Aug 2006 19:12:01 +0000 (+0000) Subject: log StatAddr with fd=0 to avoid out-of-order confusion X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6de481946f56be90347a9087834c4078832587b;p=varnish log StatAddr with fd=0 to avoid out-of-order confusion git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@610 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_session.c b/varnish-cache/bin/varnishd/cache_session.c index c9897662..85c4d69a 100644 --- a/varnish-cache/bin/varnishd/cache_session.c +++ b/varnish-cache/bin/varnishd/cache_session.c @@ -146,7 +146,7 @@ SES_Charge(struct sess *sp) AZ(pthread_mutex_lock(&ses_mtx)); ses_sum_acct(b, a); - VSL(SLT_StatAddr, sp->id, "%s 0 %d %ju %ju %ju %ju %ju %ju %ju", + VSL(SLT_StatAddr, 0, "%s 0 %d %ju %ju %ju %ju %ju %ju %ju", sp->srcaddr->addr, time(NULL) - b->first, b->sess, b->req, b->pipe, b->pass, b->fetch, b->hdrbytes, b->bodybytes);