[4.0] 8e7e7fb Include the Varnish version on panic

Lasse Karstensen lkarsten at varnish-software.com
Thu Jan 15 16:35:40 CET 2015


commit 8e7e7fb22384a469ed343d9390914b4a43c6e55e
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Thu Oct 9 19:21:56 2014 +0100

    Include the Varnish version on panic

diff --git a/bin/varnishd/cache/cache_panic.c b/bin/varnishd/cache/cache_panic.c
index 575d049..c179736 100644
--- a/bin/varnishd/cache/cache_panic.c
+++ b/bin/varnishd/cache/cache_panic.c
@@ -468,6 +468,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond,
 	if (q != NULL)
 		VSB_printf(pan_vsp, "thread = (%s)\n", q);
 
+	VSB_printf(pan_vsp, "version = %s\n", VCS_version);
 	VSB_printf(pan_vsp, "ident = %s,%s\n",
 	    VSB_data(vident) + 1, WAIT_GetName());
 



More information about the varnish-commit mailing list