RTR: Demote chatty log message. (#4895)

"No worker selection strategy set." would get logged any time tryAssignTask runs
in the default configuration, which is often. It also doesn't provide much value.
This commit is contained in:
Gian Merlino 2017-10-03 08:16:32 -07:00 committed by Fangjin Yang
parent e6eabac385
commit c19cd23e94
1 changed files with 1 additions and 1 deletions

View File

@ -747,7 +747,7 @@ public class RemoteTaskRunner implements WorkerTaskRunner, TaskLogStreamer
WorkerSelectStrategy strategy; WorkerSelectStrategy strategy;
if (workerConfig == null || workerConfig.getSelectStrategy() == null) { if (workerConfig == null || workerConfig.getSelectStrategy() == null) {
strategy = WorkerBehaviorConfig.DEFAULT_STRATEGY; strategy = WorkerBehaviorConfig.DEFAULT_STRATEGY;
log.info("No worker selection strategy set. Using default of [%s]", strategy.getClass().getSimpleName()); log.debug("No worker selection strategy set. Using default of [%s]", strategy.getClass().getSimpleName());
} else { } else {
strategy = workerConfig.getSelectStrategy(); strategy = workerConfig.getSelectStrategy();
} }