[6.0] 23ab35c25 On startup, tell what varnish version this is

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Aug 16 08:52:50 UTC 2018


commit 23ab35c25f3d7be97d8a386e6fb4ccc5d9ad3ca2
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Thu Apr 26 10:25:26 2018 +0100

    On startup, tell what varnish version this is
    
    Fixes #2661.

diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index 237a45bd0..cad50a499 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -842,6 +842,7 @@ main(int argc, char * const *argv)
 	assert(!VPF_Write(pfh1));
 	assert(pfh2 == NULL || !VPF_Write(pfh2));
 
+	MGT_Complain(C_DEBUG, "Version: %s", VCS_version);
 	MGT_Complain(C_DEBUG, "Platform: %s", VSB_data(vident) + 1);
 
 	if (d_flag)


More information about the varnish-commit mailing list