Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.4.9
-
None
-
Reviewed
Description
These are printed per chore run, per host:
[00]2021-11-10 22:07:32,998 INFO [master/ip-172-31-58-47:8100.Chore.1] balancer.BaseLoadBalancer: server <N> is on rack <R>
One log line per server. On a large cluster, this is a lot of unnecessary logging. The 'server <N> is on rack <R>' log line arguably should be at TRACE. It is not interesting unless you are debugging the balancer.
This 'Start Generate Balance plan for cluster.' log line should be at DEBUG:
[00]2021-11-10 22:07:32,984 INFO [master/ip-172-31-58-47:8100.Chore.1] balancer.BaseLoadBalancer: Start Generate Balance plan for cluster.
While we are in here, this should also be logged at DEBUG level:
[00]2021-11-10 22:14:33,005 INFO [master/ip-172-31-58-47:8100.Chore.1] master.HMaster: Balancer is going into sleep until next period in 60000ms