Suppress unnecessary logs

master
Charitha Goonetilleke 2 years ago
parent 89e72bdf86
commit 17f28c8b55

@ -409,7 +409,7 @@ public class DeviceInformationManagerImpl implements DeviceInformationManager {
} }
if (!HttpReportingUtil.isTrackerEnabled()) { if (!HttpReportingUtil.isTrackerEnabled()) {
if (log.isDebugEnabled()) { if (log.isDebugEnabled()) {
log.info("Traccar is disabled"); log.debug("Traccar is disabled");
} }
} }
} }
@ -473,7 +473,7 @@ public class DeviceInformationManagerImpl implements DeviceInformationManager {
} }
if (!HttpReportingUtil.isTrackerEnabled()) { if (!HttpReportingUtil.isTrackerEnabled()) {
if (log.isDebugEnabled()) { if (log.isDebugEnabled()) {
log.info("Traccar is disabled"); log.debug("Traccar is disabled");
} }
} }
} }

@ -444,7 +444,9 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
//Exception was not thrown due to being conflicted with non-traccar features //Exception was not thrown due to being conflicted with non-traccar features
} }
} else { } else {
log.info("Traccar is disabled"); if (log.isDebugEnabled()) {
log.debug("Traccar is disabled");
}
} }
//enroll Traccar device //enroll Traccar device
@ -544,7 +546,9 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
//Exception was not thrown due to being conflicted with non-traccar features //Exception was not thrown due to being conflicted with non-traccar features
} }
} else { } else {
log.info("Traccar is disabled"); if (log.isDebugEnabled()) {
log.debug("Traccar is disabled");
}
} }
//enroll Traccar device //enroll Traccar device
return status; return status;

Loading…
Cancel
Save