From dbeda8a9ff43eed8937d90ee00f679ccae3b3d42 Mon Sep 17 00:00:00 2001 From: yangdx Date: Sun, 23 Feb 2025 16:12:08 +0800 Subject: [PATCH] Change scanning logs from INFO to DEBUG level --- lightrag/api/routers/document_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/api/routers/document_routes.py b/lightrag/api/routers/document_routes.py index 25ca24e4..5c742f39 100644 --- a/lightrag/api/routers/document_routes.py +++ b/lightrag/api/routers/document_routes.py @@ -161,7 +161,7 @@ class DocumentManager: """Scan input directory for new files""" new_files = [] for ext in self.supported_extensions: - logging.info(f"Scanning for {ext} files in {self.input_dir}") + logging.debug(f"Scanning for {ext} files in {self.input_dir}") for file_path in self.input_dir.rglob(f"*{ext}"): if file_path not in self.indexed_files: new_files.append(file_path)