Skip to content

Commit 82b4177

Browse files
authored
Silence the debug logs notifying about skipping blacklisted files and directories (#802)
1 parent 38088f7 commit 82b4177

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/murfey/client/watchdir.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def _scan_directory(
250250
pattern in entry.name
251251
for pattern in self._substrings_blacklist.get("directories", [])
252252
):
253-
log.debug(f"Skipping blacklisted directory {str(entry.name)!r}")
253+
# log.debug(f"Skipping blacklisted directory {str(entry.name)!r}")
254254
continue
255255
elif entry.is_dir() and (
256256
modification_time is None or entry.stat().st_ctime >= modification_time
@@ -265,7 +265,7 @@ def _scan_directory(
265265
pattern in entry.name
266266
for pattern in self._substrings_blacklist.get("files", [])
267267
):
268-
log.debug(f"Skipping blacklisted file {str(entry.name)!r}")
268+
# log.debug(f"Skipping blacklisted file {str(entry.name)!r}")
269269
continue
270270
# Get file statistics and append file to dictionary
271271
try:

0 commit comments

Comments
 (0)