log -> csv