Revision 3240
Added by Matt Jones over 17 years ago
src/edu/ucsb/nceas/metacat/DocumentImpl.java | ||
---|---|---|
1012 | 1012 |
while (it.hasNext()) { |
1013 | 1013 |
|
1014 | 1014 |
NodeRecord currentNode = (NodeRecord) it.next(); |
1015 |
logMetacat.info("[Got Node ID: " + currentNode.getNodeId() + " ("
|
|
1015 |
logMetacat.debug("[Got Node ID: " + currentNode.getNodeId() + " ("
|
|
1016 | 1016 |
+ currentNode.getParentNodeId() + ", " + currentNode.getNodeIndex() |
1017 | 1017 |
+ ", " + currentNode.getNodeType() + ", " + currentNode.getNodeName() |
1018 | 1018 |
+ ", " + currentNode.getNodeData() + ")]"); |
... | ... | |
1037 | 1037 |
if (currentNode.getParentNodeId() != currentElement.getNodeId()) { |
1038 | 1038 |
while (currentNode.getParentNodeId() != currentElement.getNodeId()) { |
1039 | 1039 |
currentElement = (NodeRecord) openElements.pop(); |
1040 |
logMetacat.info("\n POPPED: "
|
|
1040 |
logMetacat.debug("\n POPPED: "
|
|
1041 | 1041 |
+ currentElement.getNodeName()); |
1042 | 1042 |
if (previousNodeWasElement) { |
1043 | 1043 |
out.print(">"); |
... | ... | |
1085 | 1085 |
} |
1086 | 1086 |
firstElement = false; |
1087 | 1087 |
openElements.push(currentNode); |
1088 |
logMetacat.info("\n PUSHED: " + currentNode.getNodeName());
|
|
1088 |
logMetacat.debug("\n PUSHED: " + currentNode.getNodeName());
|
|
1089 | 1089 |
previousNodeWasElement = true; |
1090 | 1090 |
if (currentNode.getNodePrefix() != null) { |
1091 | 1091 |
out.print("<" + currentNode.getNodePrefix() + ":" |
... | ... | |
1239 | 1239 |
// Print the final end tag for the root element |
1240 | 1240 |
while (!openElements.empty()) { |
1241 | 1241 |
NodeRecord currentElement = (NodeRecord) openElements.pop(); |
1242 |
logMetacat.info("\n POPPED: " + currentElement.getNodeName());
|
|
1242 |
logMetacat.debug("\n POPPED: " + currentElement.getNodeName());
|
|
1243 | 1243 |
if (currentElement.getNodePrefix() != null) { |
1244 | 1244 |
out.print("</" + currentElement.getNodePrefix() + ":" |
1245 | 1245 |
+ currentElement.getNodeName() + ">"); |
Also available in: Unified diff
Decreased the debug message priority to 'debug' level for messages when reading an XML document.