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 HossMan
Date Mon, 02 Apr 2012 17:19:42 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 HossMan:
http://wiki.apache.org/solr/SolrLogging?action=diff&rev1=14&rev2=15

Comment:
reorg to move basic stuff back to top, subsection for customizing

- = All Versions of Solr =
+ <<TableOfContents>>
  
- 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's Logging Mechanism =
  
- = Solr 1.4 and Above =
+ == 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.
  
@@ -12, +12 @@

  
  More Info: http://www.slf4j.org/
  
- = Solr 3.5 =
+ == Solr 1.0 to 1.3 ==
  
- == Logback ==
+ 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
+ 
+ ...but many servlet containers provide alternate log configuration options in their configuration
files.  You should consult your servlet containers documentation to see what options are available.
+ 
+ The Solr Admin console has a [[http://localhost:8983/solr/admin/logging.jsp|screen for toggling
the logging level globally]].  This is a transient setting good for doing diagnostic work,
but does not persist after reboot.
+ 
+ = Customizing Logging =
+ 
+ == With Example Jetty Instance ==
+ 
+ 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.
+ 
+ == Using Logback ==
+ 
- Here are some additional details for implementing logback (http://logback.qos.ch/). As you
may know, Logback is from the same author as Log4j. It has several enhancements including
Filters and Custom Appenders.
+ Here are some details for implementing logback (http://logback.qos.ch/). As you may know,
Logback is from the same author as Log4j. It has several enhancements including Filters and
Custom Appenders.
  
  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.
  
@@ -113, +127 @@

    </root><<BR>>
  </configuration><<BR>>
  
- = Solr 1.0 to 1.3 =
- 
- 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
- 
- ...but many servlet containers provide alternate log configuration options in their configuration
files.  You should consult your servlet containers documentation to see what options are available.
- 
- The Solr Admin console has a [[http://localhost:8983/solr/admin/logging.jsp|screen for toggling
the logging level globally]].  This is a transient setting good for doing diagnostic work,
but does not persist after reboot.
- 

Mime
View raw message