Improve information logging

revert-70ac1926
tcdlpds@gmail.com 4 years ago
parent 0c31b7cd49
commit 087b826d29

@ -41,7 +41,10 @@ public abstract class DynamicPartitionedScheduleTask implements Task {
taskContext = new DynamicTaskContext(); taskContext = new DynamicTaskContext();
taskContext.setPartitioningEnabled(true); taskContext.setPartitioningEnabled(true);
} else { } else {
log.info("Error Instantiating Variables necessary for Dynamic Task Scheduling. Dynamic Tasks will not function."); if (log.isDebugEnabled()) {
log.debug(
"Error Instantiating Variables necessary for Dynamic Task Scheduling. Dynamic Tasks will not function.");
}
} }
} catch (HeartBeatManagementException e) { } catch (HeartBeatManagementException e) {
log.error("Error Instantiating Variables necessary for Dynamic Task Scheduling. Dynamic Tasks will not function." , e); log.error("Error Instantiating Variables necessary for Dynamic Task Scheduling. Dynamic Tasks will not function." , e);

Loading…
Cancel
Save