heesung-sn commented on code in PR #19546:
URL: https://github.com/apache/pulsar/pull/19546#discussion_r1111607844
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/extensions/channel/ServiceUnitStateChannelImpl.java:
##########
@@ -294,7 +366,7 @@ private boolean validateChannelState(ChannelState
targetState, boolean checkLowe
}
private boolean debug() {
- return pulsar.getConfiguration().isLoadBalancerDebugModeEnabled() ||
log.isDebugEnabled();
+ return config.isLoadBalancerDebugModeEnabled() || log.isDebugEnabled();
Review Comment:
If log4j debug is enabled, we also want to turn on the loadbalancer debug
logs.
--
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]