From 7ea78e4a17acc293f1384eb7b3b3adb1f4d35df4 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Mon, 20 Oct 2025 15:05:28 +0800 Subject: [PATCH] =?UTF-8?q?refactor(logging):=20=E5=B0=86=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E4=BB=BB=E5=8A=A1=E6=9B=B4=E6=96=B0=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E7=BA=A7=E5=88=AB=E4=BB=8E=20info=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=BA=20debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 VideoTaskRepository 中的日志记录级别 - 将任务更新检查完成的日志从 info 级别改为 debug 级别 - 保持日志内容和参数不变,仅调整日志级别以减少生产环境日志量 --- .../java/com/ycwl/basic/repository/VideoTaskRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/ycwl/basic/repository/VideoTaskRepository.java b/src/main/java/com/ycwl/basic/repository/VideoTaskRepository.java index ffc54831..dd2af249 100644 --- a/src/main/java/com/ycwl/basic/repository/VideoTaskRepository.java +++ b/src/main/java/com/ycwl/basic/repository/VideoTaskRepository.java @@ -179,7 +179,7 @@ public class VideoTaskRepository { result.setCanUpdate(canUpdate); result.setNewSegmentCount(newSegmentCount); - log.info("任务更新检查完成: taskId={}, canUpdate={}, newSegmentCount={}, originalCount={}, currentCount={}", + log.debug("任务更新检查完成: taskId={}, canUpdate={}, newSegmentCount={}, originalCount={}, currentCount={}", taskId, result.isCanUpdate(), newSegmentCount, originalSegmentCount, currentSegmentCount); } catch (Exception e) {