[4.1] 1d767f469 On startup, tell what varnish version this is

PÃ¥l Hermunn Johansen hermunn at varnish-software.com
Tue Sep 18 14:55:12 UTC 2018


commit 1d767f469957c7146a59ac8e836437384cb5a2e5
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.
    
    Conflicts:
            bin/varnishd/mgt/mgt_main.c

diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index 368c6f4a9..b2ca48528 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -820,6 +820,7 @@ main(int argc, char * const *argv)
 
 	assert(pfh == NULL || !VPF_Write(pfh));
 
+	MGT_complain(C_DEBUG, "Version: %s", VCS_version);
 	MGT_complain(C_DEBUG, "Platform: %s\n", VSB_data(vident) + 1);
 
 	mgt_pid = getpid();	/* daemon() changed this */


More information about the varnish-commit mailing list