From ea12c76abf3ef7bec4a7c510e259f847cfd38faa Mon Sep 17 00:00:00 2001 From: "xueli.xue" Date: Thu, 29 Oct 2020 12:01:16 +0800 Subject: [PATCH] jogid fix --- .../src/main/java/com/xxl/job/core/thread/JobThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xxl-job-core/src/main/java/com/xxl/job/core/thread/JobThread.java b/xxl-job-core/src/main/java/com/xxl/job/core/thread/JobThread.java index 48776c2c..61e5c1eb 100644 --- a/xxl-job-core/src/main/java/com/xxl/job/core/thread/JobThread.java +++ b/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()));