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 Neil Hooey
Date Wed, 25 Apr 2012 15:04:08 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 Neil Hooey:
http://wiki.apache.org/solr/SolrLogging?action=diff&rev1=19&rev2=20

Comment:
Made variables and paths more unix-like.

  
  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.
  
- Note: {orig} is your top level directory for Solr.
+ Note: {{{$ORIG}}} is your top level directory for Solr.
  
  {{{
- # cd {orig}
+ # cd $ORIG
  # tar xzvf apache-solr-3.5.0.tgz
  }}}
  
@@ -102, +102 @@

  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
  }}}
  
  7. Create resources/logback.xml file
  
  {{{
- # cd {orig}/apache-solr-3.5.0/example
+ # cd $ORIG/apache-solr-3.5.0/example
  # mkdir resources
  }}}
  
@@ -121, +121 @@

  {{{
  <configuration debug="true">
    <appender name="FILE" class="ch.qos.logback.core.FileAppender">
-     <file>C:\solr\jetty\example\solr\logs\solr.log</file>
+     <file>/var/log/solr.log</file>
      <encoder>
          <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
      </encoder>

Mime
View raw message