From d27aac7f1309403ca892d9f036d0dceaea8ce631 Mon Sep 17 00:00:00 2001 From: Debanjum Date: Thu, 10 Jul 2025 22:46:28 -0700 Subject: [PATCH] Suppress non-actionable pdf indexing warning from logs --- src/khoj/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/khoj/main.py b/src/khoj/main.py index 57794ebb..76895891 100644 --- a/src/khoj/main.py +++ b/src/khoj/main.py @@ -20,6 +20,7 @@ from khoj.utils.helpers import in_debug_mode, is_env_var_true # Ignore non-actionable warnings warnings.filterwarnings("ignore", message=r"snapshot_download.py has been made private", category=FutureWarning) warnings.filterwarnings("ignore", message=r"legacy way to download files from the HF hub,", category=FutureWarning) +warnings.filterwarnings("ignore", message=r"Warning: Empty content on page \d+ of document", category=UserWarning) import uvicorn