SOLR-14130: Continue to improve log parsing logic

This commit is contained in:
Joel Bernstein 2020-01-16 11:35:43 -05:00
parent 2adecb1d6d
commit 35d8e3de6d
1 changed files with 3 additions and 3 deletions

View File

@ -162,9 +162,7 @@ public class SolrLogPostTool {
}
if (line != null) {
if (line.contains("QTime=")) {
return parseQueryRecord(line);
} else if (line.contains("Registered new searcher")) {
if (line.contains("Registered new searcher")) {
return parseNewSearch(line);
} else if (line.contains("path=/update")) {
return parseUpdate(line);
@ -173,6 +171,8 @@ public class SolrLogPostTool {
return parseError(line, readTrace());
} else if (line.contains("start commit")) {
return parseCommit(line);
} else if(line.contains("QTime=")) {
return parseQueryRecord(line);
} else {
continue;
}