Author: hossman
Date: Wed Apr 16 12:03:43 2008
New Revision: 648794
URL: http://svn.apache.org/viewvc?rev=648794&view=rev
Log:
SOLR-541: Legacy XML update support wasn't logging errors.
Modified:
lucene/solr/trunk/CHANGES.txt
lucene/solr/trunk/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java
Modified: lucene/solr/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/lucene/solr/trunk/CHANGES.txt?rev=648794&r1=648793&r2=648794&view=diff
==============================================================================
--- lucene/solr/trunk/CHANGES.txt (original)
+++ lucene/solr/trunk/CHANGES.txt Wed Apr 16 12:03:43 2008
@@ -350,7 +350,12 @@
(hossman)
25. SOLR-400: SolrExceptionTest should now handle using OpenDNS as a DNS
provider (gsingers)
-
+
+26. SOLR-541: Legacy XML update support (provided by SolrUpdateServlet
+ when no RequestHandler is mapped to "/update") now logs error correctly.
+ (hossman)
+
+
Other Changes
1. SOLR-135: Moved common classes to org.apache.solr.common and altered the
build scripts to make two jars: apache-solr-1.3.jar and
Modified:
lucene/solr/trunk/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java
URL:
http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java?rev=648794&r1=648793&r2=648794&view=diff
==============================================================================
---
lucene/solr/trunk/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java
(original)
+++
lucene/solr/trunk/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java
Wed Apr 16 12:03:43 2008
@@ -389,6 +389,7 @@
}
catch (Exception ex) {
try {
+ SolrException.logOnce(log, "Error processing \"legacy\" update
command", ex);
XML.writeXML(output, "result", SolrException.toStr(ex), "status", "1");
} catch (Exception ee) {
log.severe("Error writing to output stream: " + ee);