Browse Source

logging: write pid file path and pid during startup

Torkel Ödegaard 8 years ago
parent
commit
284cacf560
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pkg/cmd/grafana-server/server.go

+ 2 - 0
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)
 }