This commit is contained in:
zhangchenbiao
2023-06-14 17:19:16 +08:00
parent 8877105a82
commit a3a4875a72

View File

@@ -1,5 +1,6 @@
package com.cool.store.config; package com.cool.store.config;
import com.alibaba.fastjson.JSONObject;
import com.xxl.job.core.executor.impl.XxlJobSpringExecutor; import com.xxl.job.core.executor.impl.XxlJobSpringExecutor;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@@ -52,6 +53,7 @@ public class XxlJobConfig {
xxlJobSpringExecutor.setAccessToken(accessToken); xxlJobSpringExecutor.setAccessToken(accessToken);
xxlJobSpringExecutor.setLogPath(logPath); xxlJobSpringExecutor.setLogPath(logPath);
xxlJobSpringExecutor.setLogRetentionDays(logRetentionDays); xxlJobSpringExecutor.setLogRetentionDays(logRetentionDays);
logger.info(">>>>>>>>>>> xxl-job config finish,{}", JSONObject.toJSONString(xxlJobSpringExecutor));
return xxlJobSpringExecutor; return xxlJobSpringExecutor;
} }