Skip to content

Commit

Permalink
Fix logging statement
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Apr 5, 2022
1 parent 407a420 commit 86f32ec
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions core/models/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,7 @@ func GetContactIDsForQueryPage(ctx context.Context, client *elastic.Client, oa *
return nil, nil, 0, err
}

logrus.WithFields(logrus.Fields{
"org_id": oa.OrgID(),
"parsed": parsed,
"group_uuid": group,
"query": query,
"elapsed": time.Since(start),
"page_count": len(ids),
"total_count": results.Hits.TotalHits,
}).Debug("paged contact query complete")
logrus.WithFields(logrus.Fields{"org_id": oa.OrgID(), "query": query, "elapsed": time.Since(start), "page_count": len(ids), "total_count": results.Hits.TotalHits}).Debug("paged contact query complete")

return parsed, ids, results.Hits.TotalHits.Value, nil
}
Expand Down

0 comments on commit 86f32ec

Please sign in to comment.