From d6e14cc5515b94cea8776c442033079dc631dd4b Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 19 Oct 2020 16:21:13 +0200 Subject: [PATCH] proxy: show version on startup --- proxy/pkg/server/api.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proxy/pkg/server/api.go b/proxy/pkg/server/api.go index cce8409c5..a2e5c6d71 100644 --- a/proxy/pkg/server/api.go +++ b/proxy/pkg/server/api.go @@ -10,6 +10,7 @@ import ( "strings" "time" + "github.com/BeryJu/passbook/proxy/pkg" "github.com/BeryJu/passbook/proxy/pkg/client" "github.com/BeryJu/passbook/proxy/pkg/client/outposts" "github.com/getsentry/sentry-go" @@ -70,6 +71,7 @@ func doGlobalSetup(config map[string]interface{}) { default: log.SetLevel(log.DebugLevel) } + log.WithField("version", pkg.VERSION).Info("Starting passbook proxy") var dsn string if config[ConfigErrorReportingEnabled].(bool) {