Guide - SIS Solr Logging

1 Introduction

This describes samples for configuring logging in the different possible solr deployments for development.

Production setups may need additional considerations.

2 Solr on External Tomcat

Installed a plain tomcat and added the deployed the solr webapp on it.

2.1 Tomcat Global Logging Configuration

There is a configuration file that configures the overall tomcat logging.

  1. Add a file handler to create a solr.*.log file to log solr log messages.
  2. Add to handlers. define the* log properties add level and handler to log:
    handlers =,, \
     ,, \
               java.util.logging.ConsoleHandler, = FINE = ${catalina.base}/logs = solr.
    org.apache.solr.level = INFO

Apache Tomcat Logging:

2.2 Solr Webapp Logging Configuration

  1. Place a into WEB-INF/classes:
    handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
    org.apache.juli.FileHandler.level = FINE = ${catalina.base}/logs
    org.apache.juli.FileHandler.prefix = solr.
    java.util.logging.ConsoleHandler.level = FINE
    java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter

3 Internal IS Tomcat

E.g., when adding a context file to:


copying the solr.war to:



Only recommended for development.

The Intershop logging framework provides an adapter to catch all javalogging (specified in share/system/config/cluster/ with the intershop.logging.javaloggingadapter.enable)
By default the INFO level is logged nowhere. To enable INFO logging for the solr log messages, e.g., to log it into console add org.apache.solr to TraceConsole appender via SMC or add:


To share/system/config/cluster/

To create a log file for the solr log messages:

  1. Upload the logback-solr.xml in the SMC in Advanced Logging Settings or
  2. Copy the logback-solr.xml to share/systemconfig/cluster/loggingextension and add the line:


To share/system/config/cluster/

This creates a log file in \share\system\log\solr- with all log messages that origin from org.apache.solr.

See also: Concept - Logging (valid to 7.3)

4 Jetty

When using the startup from the solr distribution (It is a jetty servlet container delivered in the solr distribution).



The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources