This should be safe for CSV and others. We probably want to do a similar thing with messages (commands). Remember: we should not log the raw data. (security issue)