fix:增加日志输出以及输出的内容
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user