From ba4910919b2cf277fb86863aa0e87b448664c430 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 5 Jul 2006 09:11:01 +0000 Subject: [PATCH] log responsecode and length git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@313 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_pool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/varnish-cache/bin/varnishd/cache_pool.c b/varnish-cache/bin/varnishd/cache_pool.c index ae8118be..e733f88f 100644 --- a/varnish-cache/bin/varnishd/cache_pool.c +++ b/varnish-cache/bin/varnishd/cache_pool.c @@ -50,6 +50,8 @@ DeliverSession(struct worker *w, struct sess *sp) { + VSL(SLT_Response, sp->fd, "%u", sp->obj->response); + VSL(SLT_Length, sp->fd, "%u", sp->obj->len); vca_write_obj(sp, sp->obj->header, 0); HSH_Deref(sp->obj); sp->obj = NULL; -- 2.39.5