Added logging for lead record creation