Skip to content

Commit

Permalink
Removed logging after flushing records
Browse files Browse the repository at this point in the history
  • Loading branch information
bondeson committed May 19, 2021
1 parent ede83df commit a65f54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (p *Producer) flush(records []*kinesis.PutRecordsRequestEntry, reason strin
defer p.semaphore.release()

for {
p.Logger.Info("flushing records", LogValue{"reason", reason}, LogValue{"records", len(records)})
//p.Logger.Info("flushing records", LogValue{"reason", reason}, LogValue{"records", len(records)})
out, err := p.Client.PutRecords(&kinesis.PutRecordsInput{
StreamName: &p.StreamName,
Records: records,
Expand Down

0 comments on commit a65f54c

Please sign in to comment.