Add log to csv.