Logger converted to csv file