mirror of https://github.com/milvus-io/milvus.git
[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
parent
aea5a61e9a
commit
320cfbb606
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue