Commit 69b7b452 by liuyu

2023年05/16 自动标注 日志查询

parent cf6ec401
...@@ -75,7 +75,8 @@ public class TaskServiceCommon extends BaseTaskTypePair<TaskServiceCommon.TaskCo ...@@ -75,7 +75,8 @@ public class TaskServiceCommon extends BaseTaskTypePair<TaskServiceCommon.TaskCo
autoMarkExecutor.execute(() -> { autoMarkExecutor.execute(() -> {
long now = System.currentTimeMillis(); long now = System.currentTimeMillis();
projectAutoMark(dataSourceInfo); projectAutoMark(dataSourceInfo);
log.info("任务类型:{},开始执行,信息:{}, 耗时:{}", autoTask.getType(), JSONObject.toJSONString(autoTask), System.currentTimeMillis() - now); long count = dataSourceInfo.entrySet().stream().flatMap(e -> e.getValue().stream()).count();
log.info("任务类型:{},开始执行,数据量:{}, 耗时:{}", autoTask.getType(), count, System.currentTimeMillis() - now);
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment