SOLR-12193: Move some log messages to TRACE level, remove some dead code

This commit is contained in:
Jan Høydahl 2019-11-23 23:18:05 +01:00
parent fad75cf98d
commit d809bc27f1
2 changed files with 5 additions and 11 deletions

View File

@ -204,6 +204,8 @@ Other Changes
* SOLR-13782: Solr Ref Guide no longer published in PDF format. (Cassandra Targett)
* SOLR-12193: Move some log messages to TRACE level (gezapeti, janhoy)
================== 8.3.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.

View File

@ -262,7 +262,7 @@ public class XmlConfigFile { // formerly simply "Config"
if (errIfMissing) {
throw new RuntimeException(name + " missing "+path);
} else {
log.debug(name + " missing optional " + path);
log.trace(name + " missing optional " + path);
return null;
}
}
@ -296,12 +296,12 @@ public class XmlConfigFile { // formerly simply "Config"
if (errIfMissing) {
throw new RuntimeException(name + " missing "+path);
} else {
log.debug(name + " missing optional " + path);
log.trace(name + " missing optional " + path);
return null;
}
}
log.trace(name + ":" + path + "=" + nodeList);
log.debug(name + ":" + path + "=" + nodeList);
return nodeList;
} catch (XPathExpressionException e) {
@ -385,14 +385,6 @@ public class XmlConfigFile { // formerly simply "Config"
log.debug(name + ' '+path+'='+txt);
return txt;
/******
short typ = nd.getNodeType();
if (typ==Node.ATTRIBUTE_NODE || typ==Node.TEXT_NODE) {
return nd.getNodeValue();
}
return nd.getTextContent();
******/
}