Author: michiel
Date: 2009-06-03 20:21:24 +0200 (Wed, 03 Jun 2009)
New Revision: 35647
Modified:
mmbase/trunk/contributions/lucene/src/org/mmbase/module/lucene/Indexer.java
Log:
logging only
Modified:
mmbase/trunk/contributions/lucene/src/org/mmbase/module/lucene/Indexer.java
===================================================================
--- mmbase/trunk/contributions/lucene/src/org/mmbase/module/lucene/Indexer.java
2009-06-03 18:18:43 UTC (rev 35646)
+++ mmbase/trunk/contributions/lucene/src/org/mmbase/module/lucene/Indexer.java
2009-06-03 18:21:24 UTC (rev 35647)
@@ -489,9 +489,10 @@
Date lastFullIndex = setLastFullIndex(startTime);
log.info("Full index finished at " + lastFullIndex +
". Copied " + fullIndex + " to " +
getDirectory() + " Total nr documents in index
'" + getName() + "': " + writer.maxDoc());
- log.info("Full index finished at " + lastFullIndex );
- if (log.isDebugEnabled()) log.debug("Copied " +
fullIndex);
- if (log.isDebugEnabled()) log.debug(" To " +
getDirectory());
+ if (log.isDebugEnabled()) {
+ log.debug("Copied " + fullIndex);
+ log.debug(" To " + getDirectory());
+ }
log.info("Total nr documents in index '" + getName() +
"': " + writer.maxDoc());
} else if (Thread.currentThread().isInterrupted()) {
addError("Interrupted, will not update the index");
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs