r362 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Thu Jul 6 23:57:11 CEST 2006


Author: phk
Date: 2006-07-06 23:57:10 +0200 (Thu, 06 Jul 2006)
New Revision: 362

Modified:
   trunk/varnish-cache/bin/varnishd/cache_pool.c
Log:
Log the found objects XID when we have a hash-hit.


Modified: trunk/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pool.c	2006-07-06 21:56:43 UTC (rev 361)
+++ trunk/varnish-cache/bin/varnishd/cache_pool.c	2006-07-06 21:57:10 UTC (rev 362)
@@ -40,6 +40,7 @@
 		VCL_miss_method(sp);
 	} else {
 		VSL_stats->cache_hit++;
+		VSL(SLT_Hit, sp->fd, "%u", o->xid);
 		VCL_hit_method(sp);
 	}
 	return (0);




More information about the varnish-commit mailing list