[skip ci]Improve log style (#13006)

Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
pull/13012/head
Bingyi Sun 2021-12-08 20:19:26 +08:00 committed by GitHub
parent aea5a61e9a
commit 320cfbb606
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -418,9 +418,9 @@ func (s *Server) startServerLoop() {
func (s *Server) startStatsChannel(ctx context.Context) {
statsStream, _ := s.msFactory.NewMsgStream(ctx)
statsStream.AsConsumer([]string{Params.StatisticsChannelName}, Params.DataCoordSubscriptionName)
log.Debug("dataCoord create stats channel consumer",
zap.String("channelName", Params.StatisticsChannelName),
zap.String("descriptionName", Params.DataCoordSubscriptionName))
log.Debug("DataCoord creates statistics channel consumer",
zap.String("channel", Params.StatisticsChannelName),
zap.String("description", Params.DataCoordSubscriptionName))
statsStream.Start()
go func() {
defer logutil.LogPanic()