浏览代码

fix(logging): minor logging fix

Torkel Ödegaard 9 年之前
父节点
当前提交
2c4524bbfd
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pkg/cmd/grafana-server/server.go

+ 2 - 2
pkg/cmd/grafana-server/server.go

@@ -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)
 }
 }