Merge branch 'master' into 'master'

Improve information logging

See merge request entgra/carbon-device-mgt!707
revert-70ac1926
Ruwan Yatawara 4 years ago
commit d7c3002629

@ -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