You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cassandra Targett (JIRA)" <ji...@apache.org> on 2018/02/02 03:50:01 UTC

[jira] [Commented] (SOLR-10488) Remove @file from from the examples

    [ https://issues.apache.org/jira/browse/SOLR-10488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16349744#comment-16349744 ] 

Cassandra Targett commented on SOLR-10488:
------------------------------------------

This issue and SOLR-11373 seem almost duplicates, so linking them together as at least related.

>  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
>            Priority: Major
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org