heesung-sn commented on code in PR #18865:
URL: https://github.com/apache/pulsar/pull/18865#discussion_r1094001823
##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -2450,6 +2450,64 @@ The delayed message index bucket time step(in seconds)
in per bucket snapshot se
)
private long namespaceBundleUnloadingTimeoutMs = 60000;
+ @FieldContext(
+ category = CATEGORY_LOAD_BALANCER,
+ doc = "Option to enable the debug mode for the load balancer
logics. "
+ + "The debug mode prints more logs to provide more
information "
+ + "such as load balance states and decisions. "
+ + "(only used in load balancer extension logics)"
+ )
+ private boolean loadBalancerDebugModeEnabled = false;
Review Comment:
That's another way of fine-configuring the log level, and I assume we can
control the log level by the package as well.
But with this dynamic config, we can more easily turn on/off the debugging
logs too.
--
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]