print to stderr since logger might not exist

pull/11428/head
bergquist 8 years ago
parent 2ccbf12d1c
commit 45d9bfca97
  1. 2
      pkg/cmd/grafana-server/server.go

@ -111,7 +111,7 @@ func (g *GrafanaServerImpl) initLogging() {
})
if err != nil {
g.log.Error(err.Error())
fmt.Fprintf(os.Stderr, "Failed to start grafana. error: %s\n", err.Error())
os.Exit(1)
}

Loading…
Cancel
Save