Core: put []'s around the values in the slow-merge log message

This commit is contained in:
Michael McCandless 2014-12-10 09:22:28 -05:00 committed by mikemccand
parent 3b585e5a5e
commit 624a4b87bf
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public class TrackingConcurrentMergeScheduler extends ConcurrentMergeScheduler {
totalMergesSizeInBytes.inc(totalSizeInBytes);
totalMerges.inc(took);
String message = String.format(Locale.ROOT,
"merge segment %s done: took %s, %,.1f MB, %,d docs",
"merge segment [%s] done: took [%s], [%,.1f MB], [%,d docs]",
merge.info == null ? "_na_" : merge.info.info.name,
TimeValue.timeValueMillis(took),
totalSizeInBytes/1024f/1024f,