Skip to content

Commit

Permalink
Remove noisy log line
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Feb 27, 2024
1 parent b49b8ef commit a9e0b92
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/api/message/v1/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,14 +354,6 @@ func (s *Service) Query(ctx context.Context, req *proto.QueryRequest) (*proto.Qu
log = log.With(zap.String("topic_type", topic.Category(req.ContentTopics[0])))
}
log = log.With(logging.QueryParameters(req))
if req.StartTimeNs != 0 || req.EndTimeNs != 0 {
ri := apicontext.NewRequesterInfo(ctx)
log.Info("query with time filters", append(
ri.ZapFields(),
zap.Uint64("start_time", req.StartTimeNs),
zap.Uint64("end_time", req.EndTimeNs),
)...)
}

if req.PagingInfo != nil && req.PagingInfo.Cursor != nil {
cursor := req.PagingInfo.Cursor.GetIndex()
Expand Down

0 comments on commit a9e0b92

Please sign in to comment.