mirror of https://github.com/apache/lucene.git
SOLR-12193: Move some log messages to TRACE level, remove some dead code
This commit is contained in:
parent
fad75cf98d
commit
d809bc27f1
|
@ -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.
|
||||
|
|
|
@ -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();
|
||||
******/
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue