Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Administrating Solr

You're reading from   Administrating Solr Master the use of Drupal and associated scripts to administrate, monitor, and optimize Solr

Arrow left icon
Product type Paperback
Published in Oct 2013
Publisher Packt
ISBN-13 9781783283255
Length 120 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Surendra Mohan Surendra Mohan
Author Profile Icon Surendra Mohan
Surendra Mohan
Arrow right icon
View More author details
Toc

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 chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image