improve log message

This commit is contained in:
Shinsuke Sugaya 2022-10-13 14:48:54 +09:00
parent 9114a5dc69
commit cee952cb06

View file

@ -373,8 +373,8 @@ public class IndexUpdater extends Thread {
final long processingTime = System.currentTimeMillis() - startTime;
docList.addProcessingTime(processingTime);
if (logger.isDebugEnabled()) {
logger.debug("Added the document({}, {}ms). The number of a document cache is {}.",
MemoryUtil.byteCountToDisplaySize(contentSize), processingTime, docList.size());
logger.debug("Added the document({}, {}ms). The number of a document cache is {} (size: {}).",
MemoryUtil.byteCountToDisplaySize(contentSize), processingTime, docList.size(), docList.getContentSize());
}
if (docList.getContentSize() >= maxDocumentRequestSize) {