优化日志

nx2024TEMP
Matthew 9 months ago
parent 9f909dc5b2
commit 93b32c95da

@ -367,7 +367,8 @@ public class MpMasterService extends Service {
if (ts - mTimeToStartMpApp >= 30000) { if (ts - mTimeToStartMpApp >= 30000) {
MicroPhotoContext.restartMpApp(context); MicroPhotoContext.restartMpApp(context);
mTimeToStartMpApp = ts; mTimeToStartMpApp = ts;
logger.warning("Restart MpAPP as it is NOT Running Prev MPAPP HB=" + Long.toString((ts - mPreviousMpHbTime) / 1000)); logger.warning("Restart MpAPP as it is NOT Running Prev MPAPP HB=" +
Long.toString((ts - mPreviousMpHbTime) / 1000) + " MPAPP HBDuration=" + Long.toString(mMpHeartbeatDuration));
} else { } else {
logger.warning("MpAPP has restarted during 30s, skip the check."); logger.warning("MpAPP has restarted during 30s, skip the check.");
} }

Loading…
Cancel
Save