Changed log format to CSV