Skip to content

Commit d452bab

Browse files
committed
log the file
1 parent 64d011e commit d452bab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/index/IndexDatabase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,7 @@ public static Document getDocument(File file) throws ParseException, IOException
19191919
try {
19201920
Statistics stat = new Statistics();
19211921
TopDocs top = searcher.search(q, 1);
1922-
stat.report(LOGGER, Level.FINEST, "search via getDocument() done",
1922+
stat.report(LOGGER, Level.FINEST, String.format("search via getDocument(%s) done", file),
19231923
"search.latency", new String[]{"category", "getdocument",
19241924
"outcome", top.totalHits.value == 0 ? "empty" : "success"});
19251925
if (top.totalHits.value == 0) {

0 commit comments

Comments
 (0)