Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10488

Remove @file from <infoStream> from the examples

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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

      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
      

      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.

      Attachments

        Issue Links

          Activity

            People

              varun Varun Thacker
              varun Varun Thacker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: