From 9fa670dfd1773e86cdc887323121a7ab2d75de3a Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sun, 22 Sep 2024 11:16:15 -0500 Subject: [PATCH] add debug logging --- frigate/events/cleanup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frigate/events/cleanup.py b/frigate/events/cleanup.py index 5f121a92b..35edf4195 100644 --- a/frigate/events/cleanup.py +++ b/frigate/events/cleanup.py @@ -237,5 +237,8 @@ class EventCleanup(threading.Thread): existing_ids = collection.get(ids=chunk, include=[])["ids"] if existing_ids: collection.delete(ids=existing_ids) + logger.debug( + f"Deleted {len(existing_ids)} embeddings from {collection.__class__.__name__}" + ) logger.info("Exiting event cleanup...")