cli logger to CSV file