From 09054962f8f7ced2102e7345e8e702bfafffe1c6 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 26 Aug 2021 00:38:20 +0200 Subject: [PATCH] Fix: Log version of bot currently started Signed-off-by: Knut Ahlers --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b40903b..18fd672 100644 --- a/main.go +++ b/main.go @@ -135,7 +135,7 @@ func main() { h = httpHelpers.GzipHandler(h) h = httpHelpers.NewHTTPLogHandler(h) - log.Info("Bot setup done, bot is now running") + log.WithField("version", version).Info("Bot setup done, bot is now running") http.ListenAndServe(cfg.Listen, h) }