Apache Lucene open-source search software
SOLR-541: Legacy XML update support wasn't logging errors.
Chris M. Hostetter783bd8c9e94d
diff --git a/CHANGES.txt b/CHANGES.txtindex f8aa2a6f850..2fe91c7ae2e 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -350,7 +350,12 @@ Bug Fixes(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 Changes1. SOLR-135: Moved common classes to org.apache.solr.common and altered thebuild scripts to make two jars: apache-solr-1.3.jar anddiff --git a/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java b/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.javaindex 09f786cd7f4..2f8026c32cf 100644--- a/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java+++ b/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java@@ -389,6 +389,7 @@ public class XmlUpdateRequestHandler extends RequestHandlerBase}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);