mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Suppress unnecessary logs
This commit is contained in:
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…
Reference in New Issue
Block a user