From 77702e74fd85551c933ed141108f5b21a43ab5c6 Mon Sep 17 00:00:00 2001 From: Eu Pin Tien Date: Mon, 18 May 2026 13:47:32 +0100 Subject: [PATCH] Silence the debug logs notifying about skipping blacklisted files and directories --- src/murfey/client/watchdir.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/murfey/client/watchdir.py b/src/murfey/client/watchdir.py index 24abe0293..9f8e9aeb1 100644 --- a/src/murfey/client/watchdir.py +++ b/src/murfey/client/watchdir.py @@ -250,7 +250,7 @@ def _scan_directory( pattern in entry.name for pattern in self._substrings_blacklist.get("directories", []) ): - log.debug(f"Skipping blacklisted directory {str(entry.name)!r}") + # log.debug(f"Skipping blacklisted directory {str(entry.name)!r}") continue elif entry.is_dir() and ( modification_time is None or entry.stat().st_ctime >= modification_time @@ -265,7 +265,7 @@ def _scan_directory( pattern in entry.name for pattern in self._substrings_blacklist.get("files", []) ): - log.debug(f"Skipping blacklisted file {str(entry.name)!r}") + # log.debug(f"Skipping blacklisted file {str(entry.name)!r}") continue # Get file statistics and append file to dictionary try: