Skip to content

Commit 6aea69d

Browse files
committed
Merge branch 'main' into flow_history
2 parents 3b7469d + c99c739 commit 6aea69d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v7.3.1
2+
----------
3+
* If indexing fails, log status code from elasticsearch
4+
* Poll interval is configurable
5+
16
v7.3.0
27
----------
38
* Add stats reporting cron task and optional librato config

indexers/base.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ func (i *baseIndexer) indexBatch(index string, batch []byte) (int, int, error) {
255255
} else if item.Index.Status == 409 {
256256
conflictedCount++
257257
} else {
258-
logrus.WithField("id", item.Index.ID).WithField("batch", batch).WithField("result", item.Index.Result).Error("error indexing document")
258+
logrus.WithField("id", item.Index.ID).WithField("status", item.Index.Status).WithField("result", item.Index.Result).Error("error indexing document")
259259
}
260260
} else if item.Delete.ID != "" {
261261
logrus.WithField("id", item.Index.ID).WithField("status", item.Index.Status).Debug("delete response")

0 commit comments

Comments
 (0)