diff --git a/src/documents/index.py b/src/documents/index.py index 3fa8bd353..e08d016d2 100644 --- a/src/documents/index.py +++ b/src/documents/index.py @@ -68,7 +68,6 @@ def open_index(recreate=False): def update_document(writer, doc): - logging.getLogger(__name__).debug("Updating index with document{}".format(str(doc))) writer.update_document( id=doc.pk, title=doc.title, @@ -86,7 +85,6 @@ def add_document_to_index(sender, instance, **kwargs): @receiver(models.signals.post_delete, sender=Document) def remove_document_from_index(sender, instance, **kwargs): - logging.getLogger(__name__).debug("Removing document {} from index".format(str(instance))) ix = open_index() with AsyncWriter(ix) as writer: writer.delete_by_term('id', instance.pk)