You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/03/08 23:34:08 UTC
[Solr Wiki] Update of "SolrLogging" by HossMan
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 HossMan.
The comment on this change is: Re-Order page so most current/accurate info is at the top.
http://wiki.apache.org/solr/SolrLogging?action=diff&rev1=4&rev2=5
--------------------------------------------------
+ = Solr 1.4 and Above =
+
+ Starting with Solr 1.4, the Solr Code base compiles against the "SLF4J" API and provides a runtime jar (slf4j-jdk14-X.Y.Z.jar) that implements SLF4J using JDK standard logging -- so all of the information listed below regarding Solr 1.3 and configuring JDK standard logging still applies by default.
+
+ Users who want an alternate logging implementation (log4j, logback etc) will need to repackage the .war file and replace slf4j-jdk14-X.Y.Z.jar with an alternate implementation.
+
+ More Info: http://www.slf4j.org/
+
= Solr 1.0 to 1.3 =
- Solr uses JDK standard logging, (ie; the java.util.logging.* package), an overview of how that can be configured at the JVM level can be found here...
+ Solr uses JDK standard logging, (ie; the java.util.logging.* package; also known as "JUL"), an overview of how that can be configured at the JVM level can be found here...
http://java.sun.com/j2se/1.5.0/docs/guide/logging/overview.html
@@ -12, +20 @@
If you don't know much about JDK containers or servlet containers and want a quick recipe for modifying the logging settings for default Solr example/ setup, see LoggingInDefaultJettySetup.
- = Solr 1.4 and Above =
-
- Starting with Solr 1.4, the Solr Code base compiles against the "SLF4J" API and provides a runtime jar (slf4j-jdk14-X.Y.Z.jar) that implements SLF4J using JDK standard logging -- so all of the information above regarding Solr 1.3 still applies by default.
-
- Users who want an alternate logging implementation (log4j, logback etc) will need to repackage the .war file and replace slf4j-jdk14-X.Y.Z.jar with an alternate implementation.
-
- More Info: http://www.slf4j.org/
-