Author: andreas
Date: Fri Aug 10 04:37:58 2007
New Revision: 564561
URL: http://svn.apache.org/viewvc?view=rev&rev=564561
Log:
Log error message when indexing failed.
Modified:
lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/transformation/LuceneIndexTransformer2.java
Modified: lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/transformation/LuceneIndexTransformer2.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/transformation/LuceneIndexTransformer2.java?view=diff&rev=564561&r1=564560&r2=564561
==============================================================================
--- lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/transformation/LuceneIndexTransformer2.java (original)
+++ lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/transformation/LuceneIndexTransformer2.java Fri Aug 10 04:37:58 2007
@@ -612,6 +612,12 @@
Message message = new Message(subject, subjectParams, body, bodyParams, sender,
recipients);
NotificationUtil.notify(this.manager, message);
+
+ getLogger().error(
+ "Could not index document [" + this.pubId + ":" + this.area + ":" + this.uuid
+ + ":" + this.language + "], sent message to user ["
+ + this.notificationRecipient + "].");
+
} catch (Exception e) {
throw new SAXException(e);
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.