lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "SolrLogging" by ShawnHeisey
Date Thu, 22 Oct 2015 16:13:57 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:

Learned that the file URI for a local file on windows doesn't use backslashes, and does need
the third slash after the scheme.  Adjusted.

   1. Copy the logging config from {{{solr/example/resources/}}} 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 {{{}}} on the classpath, set the ""
system property.  Examples for this:
    * Linux/UNIX: {{{-Dlog4j.configuration=file:///path/to/}}}
-   * Windows: {{{-Dlog4j.configuration=file://C:\solr\resources\}}}
+   * Windows: {{{-Dlog4j.configuration=file:///c:/solr/resources/}}}
  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:

View raw message