From 37c9419707b4f6615a68e569cfbf930a4401c8b7 Mon Sep 17 00:00:00 2001 From: Bingyi Sun Date: Tue, 4 Jan 2022 17:31:23 +0800 Subject: [PATCH] Use logutil in DataCoord (#14737) Signed-off-by: sunby Co-authored-by: sunby --- internal/datacoord/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/datacoord/server.go b/internal/datacoord/server.go index 9b915f5622..14bb566e2b 100644 --- a/internal/datacoord/server.go +++ b/internal/datacoord/server.go @@ -677,7 +677,7 @@ func (s *Server) startFlushLoop(ctx context.Context) { for { select { case <-ctx.Done(): - log.Debug("flush loop shutdown") + logutil.Logger(s.ctx).Debug("flush loop shutdown") return case segmentID := <-s.flushCh: //Ignore return error