Fix terminate log entry.