Document Tree
Document Properties
Last Modified
Added to KB
Public Access
Doc Type
  • ICM 7.10
  • ICM 11
Guide - SIS Solr Logging

This guide applies to Solr 4 only!

For Solr 8 deployments please refer to the Apache guide: or the Guide - Deployment Solr Cloud Server respectively.


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

Production setups may need additional considerations.

Solr 4 on External Tomcat

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

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:

Solr 4 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

Internal IS Tomcat with Solr 4

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)

Jetty (Solr 4)

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.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to if you experience login issues,
or if you want to register as customer.