Skip to content

Commit

Permalink
Fix log for syncing assignment (segmentio#385)
Browse files Browse the repository at this point in the history
* This log message should not be an error log, should be an info log instead
  • Loading branch information
anandsinghkunwar authored and Steve van Loben Sels committed Dec 9, 2019
1 parent 3b34bbf commit 48f0c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumergroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ func (cg *ConsumerGroup) makeSyncGroupRequestV0(memberID string, generationID in
})
}

cg.withErrorLogger(func(logger Logger) {
cg.withLogger(func(logger Logger) {
logger.Printf("Syncing %d assignments for generation %d as member %s", len(request.GroupAssignments), generationID, memberID)
})
}
Expand Down

0 comments on commit 48f0c13

Please sign in to comment.