logging: write pid file path and pid during startup

pull/9164/head
Torkel Ödegaard 8 years ago
parent c5400ffe76
commit 284cacf560
  1. 2
      pkg/cmd/grafana-server/server.go

@ -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)
}

Loading…
Cancel
Save