From 3400d3302a0cdb2e238208efc55a1eae3df001c7 Mon Sep 17 00:00:00 2001 From: yangdx Date: Thu, 13 Mar 2025 17:45:56 +0800 Subject: [PATCH] Added "/documents" to filtered paths --- lightrag/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag/utils.py b/lightrag/utils.py index 9f751ec7..362e5531 100644 --- a/lightrag/utils.py +++ b/lightrag/utils.py @@ -75,8 +75,8 @@ class LightragPathFilter(logging.Filter): def __init__(self): super().__init__() # Define paths to be filtered - # self.filtered_paths = ["/documents", "/health", "/webui/"] - self.filtered_paths = ["/health", "/webui/"] + self.filtered_paths = ["/documents", "/health", "/webui/"] + # self.filtered_paths = ["/health", "/webui/"] def filter(self, record): try: