优化日志

TempBranch
Matthew 9 months ago
parent 9871b4d8fb
commit e3eccd603f

@ -367,7 +367,8 @@ public class MpMasterService extends Service {
if (ts - mTimeToStartMpApp >= 30000) {
MicroPhotoContext.restartMpApp(context);
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 {
logger.warning("MpAPP has restarted during 30s, skip the check.");
}

Loading…
Cancel
Save