debug log when xpath entities are skipped, to aid in troubleshooting

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@792973 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2009-07-10 15:07:44 +00:00
parent ed9dc8531e
commit dafd6d49d6
1 changed files with 1 additions and 0 deletions

View File

@ -242,6 +242,7 @@ public class XPathEntityProcessor extends EntityProcessorBase {
if (ABORT.equals(onError)) {
wrapAndThrow(SEVERE, e);
} else if (SKIP.equals(onError)) {
if (LOG.isDebugEnabled()) LOG.debug("Skipping url : " + s, e);
wrapAndThrow(DataImportHandlerException.SKIP, e);
} else {
LOG.warn("Failed for url : " + s, e);