CSV log generation