From 45c13c844a4077c953a06a9c07708693a4e53812 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 6 Jul 2006 21:57:10 +0000 Subject: [PATCH] Log the found objects XID when we have a hash-hit. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@362 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_pool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/bin/varnishd/cache_pool.c b/varnish-cache/bin/varnishd/cache_pool.c index a8826b1f..4f3fdf94 100644 --- a/varnish-cache/bin/varnishd/cache_pool.c +++ b/varnish-cache/bin/varnishd/cache_pool.c @@ -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); -- 2.39.5