Remove unnecessary total_len from log record.