nodece commented on code in PR #25536:
URL: https://github.com/apache/pulsar/pull/25536#discussion_r3091369753
##########
pulsar-broker/src/test/java/org/apache/pulsar/broker/loadbalance/LoadBalancerTest.java:
##########
@@ -708,18 +711,19 @@ public void testLeaderElection() throws Exception {
}
}
// Make sure all brokers see the same leader
- log.info("Old leader is : {}", oldLeader.getBrokerId());
+ log.info().attr("brokerId", oldLeader.getBrokerId()).log("Old
leader");
Review Comment:
**`"Old leader"` lost the "is" context from `"Old leader is : {}"` — the
message now reads ambiguously without the verb.**
```suggestion
log.info().attr("brokerId", oldLeader.getBrokerId()).log("Old
leader is");
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]