cleanup logs

This commit is contained in:
Worph
2026-07-10 13:25:16 +02:00
parent f1cd94b17e
commit 075d6f9bcb
4 changed files with 51 additions and 16 deletions
+2 -3
View File
@@ -422,10 +422,9 @@ func (w *Watcher) ScanMountPath(mountPath string) (int, error) {
return 0, nil
}
// Scan the directory
log.Printf("[Watcher] Scanning mount path: %s", mountPath)
// Scan the directory. The mount poller reports completed scans (only when
// the file count changes), so nothing is logged per scan here.
count := w.ScanDirectory(mountPath)
log.Printf("[Watcher] Mount scan complete: %s (%d files)", mountPath, count)
return count, nil
}