Commit 2c4524bb by Torkel Ödegaard

fix(logging): minor logging fix

parent 2908c6a8
...@@ -103,12 +103,12 @@ func (g *GrafanaServerImpl) startHttpServer() { ...@@ -103,12 +103,12 @@ func (g *GrafanaServerImpl) startHttpServer() {
} }
func (g *GrafanaServerImpl) Shutdown(code int, reason string) { func (g *GrafanaServerImpl) Shutdown(code int, reason string) {
g.log.Info("Shutting down", "code", code, "reason", reason) g.log.Info("Shutdown started", "code", code, "reason", reason)
g.shutdownFn() g.shutdownFn()
err := g.childRoutines.Wait() err := g.childRoutines.Wait()
g.log.Info("Shutting down completed", "reason", err) g.log.Info("Shutdown completed", "reason", err)
log.Close() log.Close()
os.Exit(code) os.Exit(code)
} }
......
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