yangdx
commited on
Commit
·
237fa92
1
Parent(s):
a0e4457
Added "/documents" to filtered paths
Browse files- lightrag/utils.py +2 -2
lightrag/utils.py
CHANGED
|
@@ -75,8 +75,8 @@ class LightragPathFilter(logging.Filter):
|
|
| 75 |
def __init__(self):
|
| 76 |
super().__init__()
|
| 77 |
# Define paths to be filtered
|
| 78 |
-
|
| 79 |
-
self.filtered_paths = ["/health", "/webui/"]
|
| 80 |
|
| 81 |
def filter(self, record):
|
| 82 |
try:
|
|
|
|
| 75 |
def __init__(self):
|
| 76 |
super().__init__()
|
| 77 |
# Define paths to be filtered
|
| 78 |
+
self.filtered_paths = ["/documents", "/health", "/webui/"]
|
| 79 |
+
# self.filtered_paths = ["/health", "/webui/"]
|
| 80 |
|
| 81 |
def filter(self, record):
|
| 82 |
try:
|