mirror of https://github.com/apache/lucene.git
tweek the update log format to show a more reasonable message
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@828300 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ede4df7add
commit
150a47586e
|
@ -162,10 +162,10 @@ class LogUpdateProcessor extends UpdateRequestProcessor {
|
||||||
|
|
||||||
// if id lists were truncated, show how many more there were
|
// if id lists were truncated, show how many more there were
|
||||||
if (numAdds > maxNumToLog) {
|
if (numAdds > maxNumToLog) {
|
||||||
adds.add("...(" + (numAdds-adds.size()) + " more)");
|
adds.add("... (" + adds.size() + " added)");
|
||||||
}
|
}
|
||||||
if (numDeletes > maxNumToLog) {
|
if (numDeletes > maxNumToLog) {
|
||||||
deletes.add("...(" + (numDeletes-deletes.size()) + " more)");
|
deletes.add("... (" + deletes.size() + " removed)");
|
||||||
}
|
}
|
||||||
long elapsed = rsp.getEndTime() - req.getStartTime();
|
long elapsed = rsp.getEndTime() - req.getStartTime();
|
||||||
log.info( ""+toLog + " 0 " + (elapsed) );
|
log.info( ""+toLog + " 0 " + (elapsed) );
|
||||||
|
|
Loading…
Reference in New Issue