执行备注优化

v1.5
xueli.xue 8 years ago
parent 4a1f3242df
commit f215ff1bcf

@ -710,6 +710,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
- 3、任务跨天执行时生成多份日志文件的问题修复
- 4、底层日志底层日志调整非敏感日志level调整为debug
- 5、升级数据库连接池c3p0版本
- 6、底层代码重构和逻辑优化以及CleanCode
#### 规划中

@ -101,10 +101,17 @@ public class XxlJobLogCallbackServerHandler extends AbstractHandler {
}
}
// handle msg
StringBuffer handleMsg = new StringBuffer();
handleMsg.append("执行备注:").append(requestModel.getMsg());
if (childTriggerMsg !=null) {
handleMsg.append("<br>子任务触发备注:").append(childTriggerMsg);
}
// success, save log
log.setHandleTime(new Date());
log.setHandleStatus(requestModel.getStatus());
log.setHandleMsg(requestModel.getMsg() + childTriggerMsg);
log.setHandleMsg(handleMsg.toString());
DynamicSchedulerUtil.xxlJobLogDao.updateHandleInfo(log);
return new ResponseModel(ResponseModel.SUCCESS, null);

Loading…
Cancel
Save