From 284cacf560144b792105a70b7bc52392e17190be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 4 Sep 2017 12:44:38 +0200 Subject: [PATCH] logging: write pid file path and pid during startup --- pkg/cmd/grafana-server/server.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/cmd/grafana-server/server.go b/pkg/cmd/grafana-server/server.go index e90acf7bc78..eab55ec3d9d 100644 --- a/pkg/cmd/grafana-server/server.go +++ b/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) }