Fixed up sanitize_log for multi-line values