Added "/documents" to filtered paths

This commit is contained in:
yangdx
2025-03-13 17:45:56 +08:00
parent 82c2cae324
commit 3400d3302a

View File

@@ -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: