Add feature to dump all logged data in csv