Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Brooks committed Oct 11, 2024
1 parent 1e45834 commit 24739d4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ public void mergeFinished(final MergePolicy.OneMerge merge, final OnGoingMerge o

String message = String.format(
Locale.ROOT,
"merge segment [%s] done: took [%s], [%,.1f MB], [%,d docs], [%s stopped], [%s throttled]",
"merge segment [%s] done: took [%s], [%s], [%,d docs], [%s stopped], [%s throttled]",
getSegmentName(merge),
TimeValue.timeValueMillis(tookMS),
totalSizeInBytes / 1024f / 1024f,
ByteSizeValue.ofBytes(totalSizeInBytes),
totalNumDocs,
TimeValue.timeValueMillis(stoppedMS),
TimeValue.timeValueMillis(throttledMS)
Expand Down

0 comments on commit 24739d4

Please sign in to comment.