From 2e5946bcb62789363505bc0c3201bfdc1fa44f18 Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Wed, 24 Apr 2019 10:47:02 +0800 Subject: [PATCH] *: improve some logs (#1516) * improve some logs Signed-off-by: Ryan Leung --- server/coordinator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/coordinator.go b/server/coordinator.go index e35d1b06af84..8cd15dfe3062 100644 --- a/server/coordinator.go +++ b/server/coordinator.go @@ -440,7 +440,7 @@ func (c *coordinator) runScheduler(s *scheduleController) { } case <-s.Ctx().Done(): - log.Info("stopped scheduler", + log.Info("scheduler has been stopped", zap.String("scheduler-name", s.GetName()), zap.Error(s.Ctx().Err())) return