Adding debug logs

This commit is contained in:
Ace 2018-02-22 13:07:48 +05:30 committed by geethkokila
parent a7b37a160b
commit 8895d0f94d

View File

@ -2535,6 +2535,9 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
* of the given device list. * of the given device list.
*/ */
private List<Device> getAllDeviceInfo(List<Device> allDevices) throws DeviceManagementException { private List<Device> getAllDeviceInfo(List<Device> allDevices) throws DeviceManagementException {
if (log.isDebugEnabled()) {
log.debug("Get all device info of devices, num of devices: " + allDevices.size());
}
List<Device> devices = new ArrayList<>(); List<Device> devices = new ArrayList<>();
for (Device device : allDevices) { for (Device device : allDevices) {
device.setDeviceInfo(this.getDeviceInfo(device)); device.setDeviceInfo(this.getDeviceInfo(device));