main: log caddy version on start (#2717)

This commit is contained in:
Alexander Danilov 2019-08-21 20:13:34 +03:00 committed by Matt Holt
parent bff2469d9d
commit ed4c2775e4

View File

@ -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 {