1
0
Fork 0

Merge branch 'devel' of https://github.com/arangodb/arangodb into devel

This commit is contained in:
Jan Steemann 2016-01-13 16:20:10 +01:00
commit adf71397a4
1 changed files with 8 additions and 2 deletions

View File

@ -498,9 +498,15 @@ function readImportantLogLines(logPath) {
for (j = 0; j < maxBuffer; j++) { for (j = 0; j < maxBuffer; j++) {
if (buf[j] === 10) { // \n if (buf[j] === 10) { // \n
var line = buf.asciiSlice(lineStart, j); var line = buf.asciiSlice(lineStart, j);
// filter out regular INFO lines, and test related messages
fnLines.push(line);
lineStart = j + 1; lineStart = j + 1;
// filter out regular INFO lines, and test related messages
if (
line.search('WARNING about to execute:') !== -1
&& line.search(' INFO ') !== -1
) {
continue;
}
fnLines.push(line);
} }
} }
} }