Skip to content

Commit fb35115

Browse files
authored
elasticsearch: fix v9 debug message
Following the PR #3871
1 parent 4254821 commit fb35115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/impl/elasticsearch/v9/output.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ func (e *esOutput) WriteBatch(ctx context.Context, batch service.MessageBatch) e
358358
tookDuration := time.Duration(result.Took) * time.Millisecond
359359

360360
e.log.Debugf(
361-
"Successfully dispatched [%s] documents in %s (%s docs/sec)",
361+
"Successfully dispatched [%d] documents in %s (%f docs/sec)",
362362
len(result.Items),
363363
tookDuration,
364364
float64(len(result.Items))/tookDuration.Seconds(),

0 commit comments

Comments
 (0)