Reader small image

You're reading from  Administrating Solr

Product typeBook
Published inOct 2013
PublisherPackt
ISBN-139781783283255
Edition1st Edition
Tools
Right arrow
Author (1)
Surendra Mohan
Surendra Mohan
author image
Surendra Mohan

Surendra Mohan, who has served a few top-notch software organizations in varied roles, is currently a freelance software consultant. He has been working on various cutting-edge technologies like Drupal, Moodle, Apache Solr, ElasticSearch, Node.js, SoapUI, and so on for the past 10 years. He also delivers technical talks at various community events like Drupal Meetups and Drupal Camps. To find out more about him, his write-ups, technical blogs, and much more, go to http://www.surendramohan.info/. He has also written the books Administrating Solr and Apache Solr High Performance published by Packt Publishing and has reviewed other technical books such as Drupal 7 Multi Site Configuration and Drupal Search Engine Optimization, as well as titles on Drupal commerce, ElasticSearch, Drupal related video tutorials, titles on OpsView, and many more. Additionally, he writes technical blogs and articles with SitePoint.com. His published blogs and articles can be found at http://www.sitepoint.com/author/smohan/.
Read more about Surendra Mohan

Right arrow

Configuring logging


Now let us learn how we can configure logging in Solr.

Solr Version older than 4.3 used the SLF4J Logging API, which was not flexible enough to support containers other than Jetty. Techies figured out this restriction and incorporated the solution in Solr 4.3 so as to improve flexibility in logging even with non-Jetty containers. To do so, they changed the default behavior and removed SLF4J jars from Solr's .war file which allows changing and upgrading the logging mechanism as and when required.

For further information on SLF4J logging API and Solr logging, you may refer to http://www.slf4j.organd http://wiki.apache.org/solr/SolrLogging respectively.

Solr provides flexibility to configure your logs either on a temporary or permanent basis based on your needs. So, let us discuss these two ways of configuring your logs one by one.

Temporary logging settings

Temporary logging settings are recommended only in the situations wherein you need a different setting on one-time basis...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Administrating Solr
Published in: Oct 2013Publisher: PacktISBN-13: 9781783283255

Author (1)

author image
Surendra Mohan

Surendra Mohan, who has served a few top-notch software organizations in varied roles, is currently a freelance software consultant. He has been working on various cutting-edge technologies like Drupal, Moodle, Apache Solr, ElasticSearch, Node.js, SoapUI, and so on for the past 10 years. He also delivers technical talks at various community events like Drupal Meetups and Drupal Camps. To find out more about him, his write-ups, technical blogs, and much more, go to http://www.surendramohan.info/. He has also written the books Administrating Solr and Apache Solr High Performance published by Packt Publishing and has reviewed other technical books such as Drupal 7 Multi Site Configuration and Drupal Search Engine Optimization, as well as titles on Drupal commerce, ElasticSearch, Drupal related video tutorials, titles on OpsView, and many more. Additionally, he writes technical blogs and articles with SitePoint.com. His published blogs and articles can be found at http://www.sitepoint.com/author/smohan/.
Read more about Surendra Mohan