mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-14 06:46:27 +03:00
main: log caddy version on start (#2717)
This commit is contained in:
parent
bff2469d9d
commit
ed4c2775e4
1 changed files with 3 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue