Clean up log messages

Moved development purpose log messages to DEBUG level.
This commit is contained in:
Ken Hibino
2020-05-11 07:02:26 -07:00
parent ae942c93e5
commit 0289bc7a10
7 changed files with 13 additions and 14 deletions

View File

@@ -401,7 +401,6 @@ func (srv *Server) Stop() {
return
}
fmt.Println() // print newline for prettier log.
srv.logger.Info("Starting graceful shutdown")
// Note: The order of termination is important.
// Sender goroutines should be terminated before the receiver goroutines.
@@ -417,7 +416,7 @@ func (srv *Server) Stop() {
srv.broker.Close()
srv.ss.SetStatus(base.StatusStopped)
srv.logger.Info("Bye!")
srv.logger.Info("Exiting")
}
// Quiet signals the server to stop pulling new tasks off queues.