Skip to content

Commit

Permalink
KAFKA-18219 Use INFO level instead of ERROR after successfully perfor…
Browse files Browse the repository at this point in the history
…ming an unclean leader election (apache#18159)

Reviewers: Kuan-Po Tseng <[email protected]>, Chia-Ping Tsai <[email protected]>
  • Loading branch information
Rancho-7 authored Dec 12, 2024
1 parent 7a64623 commit 671cbed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1767,7 +1767,7 @@ void maybeTriggerUncleanLeaderElectionForLeaderlessPartitions(
ApiError result = electLeader(topic.name, topicIdPartition.partitionId(),
ElectionType.UNCLEAN, records);
if (result.error().equals(Errors.NONE)) {
log.error("Triggering unclean leader election for offline partition {}-{}.",
log.info("Triggering unclean leader election for offline partition {}-{}.",
topic.name, topicIdPartition.partitionId());
} else {
log.warn("Cannot trigger unclean leader election for offline partition {}-{}: {}",
Expand Down

0 comments on commit 671cbed

Please sign in to comment.