Remove unnecessary logs

new-hierarchical-grouping
Charitha Goonetilleke 2 years ago
parent 204ba91010
commit c78abf0564

@ -800,9 +800,6 @@ public class OperationManagerImpl implements OperationManager {
if ((currentTime - updatedTime) < notNowOperationFrequency) { if ((currentTime - updatedTime) < notNowOperationFrequency) {
dtoOperation = operationDAO.getNextOperation(enrolmentInfo.getId(), dtoOperation = operationDAO.getNextOperation(enrolmentInfo.getId(),
org.wso2.carbon.device.mgt.core.dto.operation.mgt.Operation.Status.PENDING); org.wso2.carbon.device.mgt.core.dto.operation.mgt.Operation.Status.PENDING);
} else {
log.warn("Updated timestamp (" + updatedTime + ") of operation (" +
new Gson().toJson(dtoOperation) + ") is ahead from current: " + currentTime);
} }
} else { } else {
dtoOperation = operationDAO.getNextOperation(enrolmentInfo.getId(), dtoOperation = operationDAO.getNextOperation(enrolmentInfo.getId(),

Loading…
Cancel
Save