Sanitize log entries