From 80864a5a70f1d6bebbf9380cce9a8e3008cc863f Mon Sep 17 00:00:00 2001 From: Andrei Burd Date: Tue, 28 Jul 2020 16:11:56 +0300 Subject: [PATCH] Logging Resec version on Start --- main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 3e166a6..d58d151 100644 --- a/main.go +++ b/main.go @@ -33,7 +33,7 @@ func main() { }, cli.StringFlag{ Name: "consul-lock-key", - Usage: "KV lock location, should be overriden if multiple instances running in the same consul DC", + Usage: "KV lock location, should be overridden if multiple instances running in the same consul DC", Value: "resec/.lock", EnvVar: "CONSUL_LOCK_KEY", }, @@ -132,6 +132,8 @@ func main() { default: log.Fatal("Invalid log format (text, json, gelf)") } + + log.Infof("Starting ReSeC %s", Version) return nil } app.Action = func(c *cli.Context) error {