fix:增加日志输出以及输出的内容

This commit is contained in:
zhangyanduan
2022-10-21 10:20:06 +08:00
parent 979f1631fc
commit 5f1b490954
3 changed files with 5 additions and 4 deletions
@@ -123,9 +123,9 @@ public class SchedulerConf {
Runnable runnable = (Runnable) clazz.newInstance();
Thread runTaskThread = new Thread(runnable);
runTaskThread.start();
log.info("{},任务开始启动执行!", task.getTaskName());
log.info("{},任务开始启动执行!", task.getTaskDesc());
} catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) {
log.error("{},任务启动失败...", task.getTaskName());
log.error("{},任务启动失败...", task.getTaskDesc());
log.error(e.getMessage(),e);
}