[4.1] bf3d3dc Dump the VCL temperature in panics

Poul-Henning Kamp phk at FreeBSD.org
Fri Sep 4 15:54:54 CEST 2015


commit bf3d3dc2c78f740f6ff5b7bfea11eee1c51787d8
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Aug 17 09:14:28 2015 +0000

    Dump the VCL temperature in panics

diff --git a/bin/varnishd/cache/cache_vcl.c b/bin/varnishd/cache/cache_vcl.c
index dd49cda..0d3ed42 100644
--- a/bin/varnishd/cache/cache_vcl.c
+++ b/bin/varnishd/cache/cache_vcl.c
@@ -88,6 +88,7 @@ VCL_Panic(struct vsb *vsb, const struct vcl *vcl)
 		return;
 	VSB_printf(vsb, "vcl = {\n");
 	VSB_indent(vsb, 2);
+	VSB_printf(vsb, "temp = %s\n", vcl->temp);
 	VSB_printf(vsb, "srcname = {\n");
 	VSB_indent(vsb, 2);
 	for (i = 0; i < vcl->conf->nsrc; ++i)



More information about the varnish-commit mailing list