Use pointer of vectors in log data to avoid interator invalidation issues.