底层Log调优,应用正常终止取消异常栈信息打印;

pull/8/MERGE
xuxueli 6 years ago
parent a254a030c7
commit 1d2a893707

@ -1398,6 +1398,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
- 3、记住密码功能优化选中时永久记住非选中时关闭浏览器即登出
- 4、项目依赖升级至较新稳定版本如spring、jackson、groovy、xxl-rpc等等
- 5、精简项目取消第三方依赖如 commons-collections4 ;
- 6、底层Log调优应用正常终止取消异常栈信息打印
- [迭代中]注册中心优化实时性注册发现心跳注册间隔10srefresh失败则首次注册并立即更新注册信息心跳类似30s过期销毁
- [迭代中]脚本任务,支持数据参数,新版本仅支持单参数不支持需要兼容;
- [迭代中]提供执行器Docker镜像

@ -87,9 +87,13 @@ public class JobFailMonitorHelper {
TimeUnit.SECONDS.sleep(10);
} catch (Exception e) {
logger.error("job monitor error:{}", e);
if (!toStop) {
logger.error(">>>>>>>>>>> xxl-job, job fail monitor thread error:{}", e);
}
}
}
logger.warn(">>>>>>>>>>> xxl-job, job fail monitor thread stop");
}
});
@ -178,7 +182,7 @@ public class JobFailMonitorHelper {
XxlJobAdminConfig.getAdminConfig().getMailSender().send(mimeMessage);
} catch (Exception e) {
logger.error(">>>>>>>>>>> job monitor alarm email send error, JobLogId:{}", jobLog.getId(), e);
logger.error(">>>>>>>>>>> xxl-job, job fail alarm email send error, JobLogId:{}", jobLog.getId(), e);
alarmResult = false;
}

@ -74,14 +74,19 @@ public class JobRegistryMonitorHelper {
}
}
} catch (Exception e) {
logger.error("job registry instance error:{}", e);
if (!toStop) {
logger.error(">>>>>>>>>>> xxl-job, job registry monitor thread error:{}", e);
}
}
try {
TimeUnit.SECONDS.sleep(RegistryConfig.BEAT_TIMEOUT);
} catch (InterruptedException e) {
logger.error("job registry instance error:{}", e);
if (!toStop) {
logger.error(">>>>>>>>>>> xxl-job, job registry monitor thread error:{}", e);
}
}
}
logger.warn(">>>>>>>>>>> xxl-job, job registry monitor thread stop");
}
});
registryThread.setDaemon(true);

Loading…
Cancel
Save