[MIRROR] Update runtime condenser for new logs. [MDB IGNORE] (#21980)

* Update runtime condenser for new logs. (#76233)

* Update runtime condenser for new logs.

---------

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
This commit is contained in:
SkyratBot
2023-06-23 16:15:11 -07:00
committed by GitHub
co-authored by Kyle Spier-Swenson
parent 8937958313
commit e8bc9d8e5b
+4
View File
@@ -131,6 +131,10 @@ inline void forward_progress(FILE * inputFile) {
else if (nextLine->length() >= 26 && ((*nextLine)[0] == '[' && (*nextLine)[5] == '-' && (*nextLine)[14] == ':' && (*nextLine)[20] == '.' && (*nextLine)[24] == ']'))
nextLine->erase(0, 26);
}
//strip out log cats
if (nextLine->length() >= 9 && safe_substr(nextLine, 0, 9) == "RUNTIME: ") {
nextLine->erase(0, 9);
}
} while (!endofbuffer && nextLine->length() < 1);
}