diff --git a/ezidapp/management/commands/proc-cleanup-async-queues_v2.py b/ezidapp/management/commands/proc-cleanup-async-queues_v2.py index 2b788551..7d52ad5c 100644 --- a/ezidapp/management/commands/proc-cleanup-async-queues_v2.py +++ b/ezidapp/management/commands/proc-cleanup-async-queues_v2.py @@ -196,8 +196,7 @@ def deleteRecord(self, queue, primary_key, record_type=None, identifier=None): try: # check if the record to be deleted is a refIdentifier record if (record_type is not None and record_type == 'refId'): - log.info(type(queue)) - log.info("Delete refId: " + str(primary_key)) + log.info(f"Delete from {queue.__name__} refId: " + str(primary_key)) with transaction.atomic(): obj = queue.objects.select_for_update().get(id=primary_key) obj.delete()