mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-22 13:29:01 +08:00
main: log caddy version on start (#2717)
This commit is contained in:
parent
bff2469d9d
commit
ed4c2775e4
|
@ -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 New Issue
Block a user