Sanitize log data