Improved logging for record ingestion failures