Commit 284cacf5 by Torkel Ödegaard

logging: write pid file path and pid during startup

parent c5400ffe
...@@ -142,4 +142,6 @@ func (g *GrafanaServerImpl) writePIDFile() { ...@@ -142,4 +142,6 @@ func (g *GrafanaServerImpl) writePIDFile() {
g.log.Error("Failed to write pidfile", "error", err) g.log.Error("Failed to write pidfile", "error", err)
os.Exit(1) os.Exit(1)
} }
g.log.Info("Writing PID file", "path", *pidFile, "pid", pid)
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment