logging: write pid file path and pid during startup

This commit is contained in:
Torkel Ödegaard 2017-09-04 12:44:38 +02:00
parent c5400ffe76
commit 284cacf560

View File

@ -142,4 +142,6 @@ func (g *GrafanaServerImpl) writePIDFile() {
g.log.Error("Failed to write pidfile", "error", err)
os.Exit(1)
}
g.log.Info("Writing PID file", "path", *pidFile, "pid", pid)
}