Varun Thacker created SOLR-10488:
------------------------------------

             Summary:  Remove @file from <infoStream> from the examples
                 Key: SOLR-10488
                 URL: https://issues.apache.org/jira/browse/SOLR-10488
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Varun Thacker


This is commented out in the solrconfig.xml

{{<infoStream file="INFOSTREAM.txt">false</infoStream>}}

So when I go to enable it by making it true I get this error while creating a 
core

{code}
Caused by: org.apache.solr.common.SolrException: Error loading solr config from 
/solr-6.5.0/server/solr/test/conf/solrconfig.xml
        at 
org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:188)
        at 
org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigSetService.java:96)
        at 
org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:77)
        ... 39 more
Caused by: java.lang.IllegalArgumentException: Remove @file from <infoStream> 
to output messages to solr's logfile
        at 
org.apache.solr.update.SolrIndexConfig.<init>(SolrIndexConfig.java:189)
        at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:232)
        at 
org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:180)
        ... 41 more
{code}

So the solrconfig files that get shipped with solr should remove the file 
attribute and say that this is controlled by the log4j.properties file.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to