[master] c1791d8 Include the Varnish version on panic

Federico G. Schwindt fgsch at lodoss.net
Thu Oct 9 20:22:18 CEST 2014


commit c1791d8b085502cf551794bd55cd8ddde15723cb
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 ca169d9..ab95e03 100644
--- a/bin/varnishd/cache/cache_panic.c
+++ b/bin/varnishd/cache/cache_panic.c
@@ -510,6 +510,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