mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
fix(logging): minor logging fix
This commit is contained in:
parent
2908c6a80b
commit
2c4524bbfd
@ -103,12 +103,12 @@ func (g *GrafanaServerImpl) startHttpServer() {
|
||||
}
|
||||
|
||||
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()
|
||||
err := g.childRoutines.Wait()
|
||||
|
||||
g.log.Info("Shutting down completed", "reason", err)
|
||||
g.log.Info("Shutdown completed", "reason", err)
|
||||
log.Close()
|
||||
os.Exit(code)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user