From 1d7a94f15451e5a9bd6b4c0effdb1d6190d602a8 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Thu, 30 Jul 2026 22:52:02 +0545 Subject: [PATCH] chore(clipboard): remove noisy INFO logs from _load_history --- src/window/spotlight/plugins/clipboard.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/window/spotlight/plugins/clipboard.py b/src/window/spotlight/plugins/clipboard.py index 6ab3220..d29faf9 100644 --- a/src/window/spotlight/plugins/clipboard.py +++ b/src/window/spotlight/plugins/clipboard.py @@ -99,11 +99,7 @@ class ClipboardPlugin(SpotlightPlugin): def _load_history(self) -> None: result = run_command(["cliphist", "list"], timeout=5) raw = result.stdout if isinstance(result.stdout, str) else "" - logger.info( - f"[Clipboard] _load_history: stdout type={type(result.stdout).__name__} len={len(raw)} returncode={result.returncode}" - ) lines = raw.splitlines() - logger.info(f"[Clipboard] _load_history: {len(lines)} lines from cliphist") new_entries = [] for line in lines[:100]: if "\t" not in line: @@ -122,13 +118,9 @@ class ClipboardPlugin(SpotlightPlugin): if "binary data" in content: entry["type"] = "image" new_entries.append(entry) - logger.info(f"[Clipboard] _load_history: parsed {len(new_entries)} entries") with self._history_lock: self._history.clear() self._history.extend(new_entries) - logger.info( - f"[Clipboard] _load_history: history now has {len(self._history)} entries" - ) def _filter_entries(self, query: str) -> list[dict]: q = query.strip().lower()