add log
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user