From ed4c2775e46b924d4851e04cc281633b1b2c15af Mon Sep 17 00:00:00 2001 From: Alexander Danilov Date: Wed, 21 Aug 2019 20:13:34 +0300 Subject: [PATCH] main: log caddy version on start (#2717) --- caddy/caddymain/run.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/caddy/caddymain/run.go b/caddy/caddymain/run.go index 9dbc54ca..369c7a9b 100644 --- a/caddy/caddymain/run.go +++ b/caddy/caddymain/run.go @@ -189,6 +189,9 @@ func Run() { os.Exit(0) } + // Log Caddy version before start + log.Printf("[INFO] Caddy version: %s", module.Version) + // Start your engines instance, err := caddy.Start(caddyfileinput) if err != nil {