Apache Lucene open-source search software
SOLR-2616: Include a section about logging in the README
Mark Robert Millercf53af0ed2ec
diff --git a/solr/example/README.txt b/solr/example/README.txtindex a4b088d7a8b..b2c4a2eca1c 100644--- a/solr/example/README.txt+++ b/solr/example/README.txt@@ -43,6 +43,8 @@ UIMA, the clustering component, or other modules in "contrib",you will need to copy the required jars into solr/lib or update the paths tothe jars in your solrconfig.xml.+-SolrHome+By default, start.jar starts Solr in Jetty using the default solr homedirectory of "./solr/" -- To run other example configurations, you canspeciy the solr.solr.home system property when starting jetty...@@ -50,3 +52,15 @@ speciy the solr.solr.home system property when starting jetty...java -Dsolr.solr.home=multicore -jar start.jarjava -Dsolr.solr.home=example-DIH -jar start.jar+-Logging++By default, Solr will log to the console. This can be convenient when first+getting started, but eventually you will want to log to a file. To enable+logging, you can just pass a system property to Jetty on startup:++ java -Djava.util.logging.config.file=etc/logging.properties -jar start.jar++ This will use Java Util Logging to log to a file based on the config in+ etc/logging.properties. Logs will be written in the logs directory. It is+ also possible to setup log4j or other popular logging frameworks.+