Add debug logs

traccar-v5.0.15-sync
shamalka 2 years ago
parent 3472d23f1b
commit 1f8e72d664

@ -437,7 +437,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
DeviceManagementDataHolder.getInstance().getTraccarManagementService().addDevice(device);
} else {
if (log.isDebugEnabled()) {
log.info("Traccar is disabled");
log.debug("Traccar is disabled");
}
}
@ -527,7 +527,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
DeviceManagementDataHolder.getInstance().getTraccarManagementService().updateDevice(device);
} else {
if (log.isDebugEnabled()) {
log.info("Traccar is disabled");
log.debug("Traccar is disabled");
}
}
@ -617,7 +617,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
DeviceManagementDataHolder.getInstance().getTraccarManagementService().unLinkTraccarDevice(device.getEnrolmentInfo().getId());
} else {
if (log.isDebugEnabled()) {
log.info("Traccar is disabled");
log.debug("Traccar is disabled");
}
}
//procees to dis-enroll a device from traccar ends
@ -744,7 +744,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
}
} else {
if (log.isDebugEnabled()) {
log.info("Traccar is disabled");
log.debug("Traccar is disabled");
}
}
return true;

Loading…
Cancel
Save