tools: Add logutil
tools: Add log CSV export.