From c058bcbb6b235519e10ad9d4c3bd205cff9daccb Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Thu, 9 Apr 2020 17:44:19 +0200 Subject: [PATCH] relay: show version on startup Since relay is a long-running process, I find myself in situations where I dont know which version of croc I have running. This simple startup log will make it obvious. --- src/cli/cli.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/cli.go b/src/cli/cli.go index b1c3b34..5fece9b 100644 --- a/src/cli/cli.go +++ b/src/cli/cli.go @@ -380,6 +380,7 @@ func receive(c *cli.Context) (err error) { } func relay(c *cli.Context) (err error) { + log.Infof("starting croc relay version %v", Version) debugString := "info" if c.GlobalBool("debug") { debugString = "debug"