master
xueli.xue 4 years ago
parent c88d76c449
commit ea12c76abf
  1. 2
      xxl-job-core/src/main/java/com/xxl/job/core/thread/JobThread.java

@ -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()));

Loading…
Cancel
Save