update - 优化日志打印

This commit is contained in:
wangli 2024-04-28 15:06:30 +08:00
parent e6498c130b
commit c989172086

View File

@ -1,6 +1,5 @@
package cn.axzo.workflow.server.common.config;
import cn.azxo.framework.common.annotation.OnlyPodsEnvironment;
import com.xxl.job.core.executor.impl.XxlJobSpringExecutor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@ -9,7 +8,7 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* TODO
* XXL-JOB
*
* @author wangli
* @since 2024/4/28 14:02
@ -40,7 +39,6 @@ public class XxlJobConfiguration {
private int logRetentionDays;
@Bean
@OnlyPodsEnvironment
public XxlJobSpringExecutor xxlJobExecutor() {
logger.info(">>>>>>>>>>> xxl-job config init.");
XxlJobSpringExecutor xxlJobSpringExecutor = new XxlJobSpringExecutor();