[
https://issues.apache.org/jira/browse/SOLR-10488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18042483#comment-18042483
]
ASF subversion and git services commented on SOLR-10488:
--------------------------------------------------------
Commit ca94cf8abad5a11015b2cfd7df29b9026ea889d0 in solr's branch
refs/heads/main from Eric Pugh
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=ca94cf8abad ]
SOLR-10488: modernize how infoStream is defined in _default configset (#3909)
Aligns both _default and techproducts configset configurations.
Defaults techproducts to not have infostream enabled, it clogs up the logging.
> Remove @file from <infoStream> from the examples
> -------------------------------------------------
>
> Key: SOLR-10488
> URL: https://issues.apache.org/jira/browse/SOLR-10488
> Project: Solr
> Issue Type: Bug
> Reporter: Varun Thacker
> Assignee: Eric Pugh
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> 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
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]