lucene-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 ShawnHeisey
Date Thu, 22 Oct 2015 16:10:27 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 ShawnHeisey:
https://wiki.apache.org/solr/SolrLogging?action=diff&rev1=41&rev2=42

Comment:
Slight rewording.  Add log4j property example for Windows.

   1. Copy the logging config from {{{solr/example/resources/log4j.properties}}} into a location
on the classpath.  Usually you can use the same location as the jar files above.  Edit the
configuration file for your preferred log destination.
   1. Optionally, if you did not place {{{log4j.properties}}} on the classpath, set the "log4j.properties"
system property.  Examples for this:
    * Linux/UNIX: {{{-Dlog4j.configuration=file:///path/to/log4j.properties}}}
-   * Windows: {{{-Dlog4j.configuration=file://C:\solr\resources\log4j.properties}}}
+   * Windows: {{{-Dlog4j.configuration=file:///c:/solr/resources/log4j.properties}}}
  
  If the system can not find the jars for logging, you may get an error which prevents Solr
from deploying. For instance in Tomcat 6, it might look like this:
  

Mime
View raw message