Only output dynamic scheduling debug logs when --debug_spawn_scheduler is on.
@@ -506,8 +506,10 @@ public class DynamicSpawnStrategy implements SpawnStrategy {
@FormatMethod
private void debugLog(String fmt, Object... args) {
+ if (options.debugSpawnScheduler) {
stepLog(Level.FINE, null, fmt, args);
}
+ }
@Override
public ImmutableList<SpawnResult> exec(
