add debug logging

This commit is contained in:
Josh Hawkins 2024-09-22 11:16:15 -05:00
parent cbc98c5b46
commit 9fa670dfd1

View File

@ -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...")