Removed info logs

revert-dabc3590
milanperera 9 years ago
parent 133bb9a6ea
commit babe8e6c5e

@ -46,13 +46,12 @@ public class AndroidPolicyMonitoringService implements PolicyMonitoringService {
public ComplianceData checkPolicyCompliance(DeviceIdentifier deviceIdentifier, Policy policy, Object o) throws PolicyComplianceException {
ComplianceData complianceData = new ComplianceData();
if (log.isDebugEnabled()) {
log.info("Checking policy compliance status of device '" + deviceIdentifier.getId() + "'");
log.debug("Checking policy compliance status of device '" + deviceIdentifier.getId() + "'");
}
if (o == null || policy == null) {
return null;
}
List<ComplianceFeature> complianceFeatures = (List<ComplianceFeature>) o;
log.info("size of list: " + complianceFeatures.size());
complianceData.setComplianceFeatures(complianceFeatures);
for (ComplianceFeature cf : complianceFeatures) {

Loading…
Cancel
Save