Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.1.0
-
None
-
None
Description
Some of the INFO level log4j entries are quite verbose and not really useful, for example in kafka.coordinator.group.GroupMetadataManager, the following log can be constantly printed with 0 expired offsets:
info(s"Removed $numOffsetsRemoved expired offsets in ${time.milliseconds() - currentTimestamp} milliseconds.")
Other examples include:
kafka.coordinator.group.GroupMetadataManager.GroupCoordinator:
info(s"Group ${group.groupId} with generation ${group.generationId} is now empty " + s"(${Topic.GROUP_METADATA_TOPIC_NAME}-${partitionFor(group.groupId)})")
info(s"Preparing to rebalance group ${group.groupId} in state ${group.currentState} with old generation " + s"${group.generationId} (${Topic.GROUP_METADATA_TOPIC_NAME}-${partitionFor(group.groupId)}) (reason: $reason)")
info(s"Assignment received from leader for group ${group.groupId} for generation ${group.generationId}")
info(s"Stabilized group ${group.groupId} generation ${group.generationId} " + s"(${Topic.GROUP_METADATA_TOPIC_NAME}-${partitionFor(group.groupId)})")
We should move them to DEBUG if they are expected in normal state.
Attachments
Issue Links
- relates to
-
KAFKA-1592 Some INFO level logging needs to be DEBUG
- Resolved
- links to