lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SolrLogging" by Bill Bell
Date Sun, 01 Apr 2012 03:35:50 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrLogging" page has been changed by Bill Bell:
http://wiki.apache.org/solr/SolrLogging?action=diff&rev1=9&rev2=10

  
  1. Get Solr 3.5 http://www.apache.org/dyn/closer.cgi/lucene/solr/3.5.0 and extract the tar/zip
file on your system.
  
- . # cd {orig}
+ Note: {orig} is your top level directory for Solr.
+ 
+ # cd {orig}<<BR>>
- . # tar xzvf apache-solr-3.5.0.tgz
+ # tar xzvf apache-solr-3.5.0.tgz<<BR>>
  
  2. Copy the solr.war file to a new location
  
- . # mkdir -p /tmp/solr
+ # mkdir -p /tmp/solr<<BR>>
- . # cd ./example/webapps
+ # cd ./example/webapps<<BR>>
- . # cp solr.war /tmp/solr
+ # cp solr.war /tmp/solr<<BR>>
- . # cd /tmp/solr
+ # cd /tmp/solr<<BR>>
- . # jar xvf solr.war
+ # jar xvf solr.war<<BR>>
- . # rm -f solr.war
+ # rm -f solr.war<<BR>>
  
  3. Remove the slf4j-jdk14-1.6.1.jar file
  
- . # cd /tmp/solr
+ # cd /tmp/solr<<BR>>
- . # rm -f ./WEB-INF/lib/slf4j-jdk14-1.6.1.jar
+ # rm -f ./WEB-INF/lib/slf4j-jdk14-1.6.1.jar<<BR>>
  
  4. Copy logback classic files 
  
  Get the file: http://logback.qos.ch/dist/logback-1.0.1.tar.gz
  
- . # tar xzvf logback-1.0.1.tar.gz
+ # tar xzvf logback-1.0.1.tar.gz<<BR>>
- . # cd logback-1.0.1
+ # cd logback-1.0.1<<BR>>
- . # cp logback-classic-1.0.1.jar /tmp/solr/WEB-INF/lib
+ # cp logback-classic-1.0.1.jar /tmp/solr/WEB-INF/lib<<BR>>
- . # cp logback-core-1.0.1.jar /tmp/solr/WEB-INF/lib
+ # cp logback-core-1.0.1.jar /tmp/solr/WEB-INF/lib<<BR>>
  
  5. Rebuild the war
  
- . # cd /tmp/solr
+ # cd /tmp/solr<<BR>>
- . # jar cvf solr.war *
+ # jar cvf solr.war *<<BR>>
  
  6. Copy the war back to your example/webapps directory
  
- . # cp solr.war {orig}/apache-solr-3.5.0/example/webapps
+ # cp solr.war {orig}/apache-solr-3.5.0/example/webapps<<BR>>
  
  7. Create resources/logback.xml file
  
- . # cd {orig}/apache-solr-3.5.0/example
+ # cd {orig}/apache-solr-3.5.0/example<<BR>>
- . # mkdir resources
+ # mkdir resources<<BR>>
  
  copy logback.xml into this directory.
  

Mime
View raw message