]> err.no Git - varnish/commitdiff
Log the found objects XID when we have a hash-hit.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 6 Jul 2006 21:57:10 +0000 (21:57 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 6 Jul 2006 21:57:10 +0000 (21:57 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@362 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_pool.c

index a8826b1f80fb6114bb051dcb4da0472476fcad1d..4f3fdf94bbfba1c65e04e38c765909a5db51e9aa 100644 (file)
@@ -40,6 +40,7 @@ LookupSession(struct worker *w, struct sess *sp)
                VCL_miss_method(sp);
        } else {
                VSL_stats->cache_hit++;
+               VSL(SLT_Hit, sp->fd, "%u", o->xid);
                VCL_hit_method(sp);
        }
        return (0);