mirror of
https://github.com/apache/lucene.git
synced 2025-02-28 21:39:25 +00:00
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:
parent
ed9dc8531e
commit
dafd6d49d6
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user