From 06826bf5c06bbacf7e6872548096042d1ad59921 Mon Sep 17 00:00:00 2001 From: justinwwhuang Date: Mon, 26 Aug 2024 20:40:19 +0800 Subject: [PATCH] Update inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/file/FileUtils.java Co-authored-by: AloysZhang --- .../main/java/org/apache/inlong/agent/utils/file/FileUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/file/FileUtils.java b/inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/file/FileUtils.java index a9ffd0dec5d..0f28c1b353d 100644 --- a/inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/file/FileUtils.java +++ b/inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/file/FileUtils.java @@ -68,7 +68,7 @@ public static long getFileLastModifyTime(String fileName) { try { lastModify = Files.getLastModifiedTime(Paths.get(fileName)).toMillis(); } catch (IOException e) { - LOGGER.error("getFileLastModifyTime error {}", e); + LOGGER.error("getFileLastModifyTime error.", e); } return lastModify; }