I'm getting this error (below) when doing an import. I'd like to add a Log line so I can see if the file path is messed up.
So my data-config.xml looks like below but I'm not getting any extra info in the solr.log file under jetty. Is there a way to log to this log file from data-import.xml? <dataConfig> <dataSource type="FileDataSource" /> <document> <entity name="medlineFileList" processor="FileListEntityProcessor" fileName=".*xml" rootEntity="false" dataSource="null" baseDir="/index_files/pubmed/"> <entity name="medlineFiles" processor="XPathEntityProcessor" url="${medlineFileList.fileAblsolutePath}" forEach="/MedlineCitationSet/MedlineCitation" transformer="DateFormatTransformer,TemplateTransformer,RegexTransformer,Lo gTransformer" logTemplate=" processing ${medlineFileList.fileAbsolutePath}" logLevel="info" stream="true"> <field column="pmid" xpath="/MedlineCitationSet/MedlineCitation/PMID" commonField="true" /> ... Thanks. INFO: Starting Full Import May 1, 2012 10:34:29 AM org.apache.solr.handler.dataimport.SolrWriter readIndexerProperties INFO: Read dataimport.properties May 1, 2012 10:34:29 AM org.apache.solr.common.SolrException log SEVERE: Exception while processing: medlineFileList document : null:org.apache.solr.handler.dataimport.DataImportHandlerException: java.lang.RuntimeException: java.io.FileNotFoundException: Could not find file: at org.apache.solr.handler.dataimport.DataImportHandlerException.wrapAndThrow( DataImportHandlerException.java:64) at org.apache.solr.handler.dataimport.XPathEntityProcessor.initQuery(XPathEnti tyProcessor.java:286) at org.apache.solr.handler.dataimport.XPathEntityProcessor.fetchNextRow(XPathE ntityProcessor.java:224) at org.apache.solr.handler.dataimport.XPathEntityProcessor.nextRow(XPathEntity Processor.java:204) at org.apache.solr.handler.dataimport.EntityProcessorWrapper.nextRow(EntityPro cessorWrapper.java:238) at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java :591) at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java :617) at org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:26 7) at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:186) at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.j ava:353) at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:41 1) at org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:392 ) Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: Could not find file: at org.apache.solr.handler.dataimport.FileDataSource.getFile(FileDataSource.ja va:113) at org.apache.solr.handler.dataimport.FileDataSource.getData(FileDataSource.ja va:85) at org.apache.solr.handler.dataimport.FileDataSource.getData(FileDataSource.ja va:47) at org.apache.solr.handler.dataimport.XPathEntityProcessor.initQuery(XPathEnti tyProcessor.java:283) ... 10 more Caused by: java.io.FileNotFoundException: Could not find file: at org.apache.solr.handler.dataimport.FileDataSource.getFile(FileDataSource.ja va:111) ... 13 more