Merge branch 'master' into 'master'

Improve information logging

See merge request entgra/carbon-device-mgt!707
merge-requests/713/head
Ruwan Yatawara 4 years ago
commit d7c3002629

@ -41,7 +41,10 @@ public abstract class DynamicPartitionedScheduleTask implements Task {
taskContext = new DynamicTaskContext();
taskContext.setPartitioningEnabled(true);
} 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) {
log.error("Error Instantiating Variables necessary for Dynamic Task Scheduling. Dynamic Tasks will not function." , e);

Loading…
Cancel
Save