Refine the installation process for Solr 4.7.2

This commit is contained in:
Jim Blake 2014-05-01 14:25:12 -04:00
parent 5d6a2e831f
commit c128dd3b2e
18 changed files with 17 additions and 29 deletions

View file

@ -419,10 +419,11 @@
<fileset dir="${solr.template.dir}/homeDirectoryTemplate" />
</copy>
<!-- create an unpacked image of the Solr WAR, with our config options -->
<!-- create an unpacked image of the Solr WAR -->
<unwar src="${solr.template.dir}/solr-4.7.2.war" dest="${solr.webapp.dir}" />
<copy todir="${solr.webapp.dir}/WEB-INF/classes">
<fileset dir="${appbase.dir}/config/solr/" />
<!-- add logging JARs and logging options that Solr doesn't include -->
<copy todir="${solr.webapp.dir}">
<fileset dir="${solr.template.dir}/additions-to-solr-war/" />
</copy>
</target>

View file

@ -1,26 +0,0 @@
############################################################
# logging parameters for Solr
# see http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_java.util.logging_%28default%29
############################################################
handlers = org.apache.juli.FileHandler
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
org.apache.juli.FileHandler.level = INFO
org.apache.juli.FileHandler.directory = ${catalina.base}/logs
org.apache.juli.FileHandler.prefix = solr.
org.apache.juli.FileHandler.formatter = java.util.logging.SimpleFormatter
############################################################
# Special handling for classes that need to be less chatty
# than the overall level.
############################################################
# Make all of the Solr classes quieter...
org.apache.solr.level = WARNING
# ...except for this one.
org.apache.solr.core.SolrResourceLoader.level = INFO