jogid fix

This commit is contained in:
xueli.xue 2020-10-29 12:01:16 +08:00
parent c88d76c449
commit ea12c76abf
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ public class JobThread extends Thread{
// log filename, like "logPath/yyyy-MM-dd/9999.log"
String logFileName = XxlJobFileAppender.makeLogFileName(new Date(triggerParam.getLogDateTime()), triggerParam.getLogId());
XxlJobContext.setXxlJobContext(new XxlJobContext(
triggerParam.getLogId(),
triggerParam.getJobId(),
logFileName,
triggerParam.getBroadcastIndex(),
triggerParam.getBroadcastTotal()));