Adding log when resource is deleted