Solr logging - Alfresco Search Services - 2.0 - 2.0 - Ready - Alfresco - external - Alfresco/Alfresco-Search-Services/2.0/Alfresco-Search-Services/Administer/Solr-logging - 2025-04-04

Alfresco Search Services

Platform
Alfresco
Product
Alfresco Search Services
Release
2.0
License

You can set different debug logging levels for Solr components using the Solr log4j properties.

  1. Locate the <solrRootDir>/log4j-solr.properties file.
  2. Edit it to add your required logging setting. For example:
     log4j.logger.org.alfresco.solr.tracker.MetadataTracker=DEBUG
    
  3. Changes to the log4j-solr.properties file will be re-read by Solr when it starts up. If you need to make changes to the logging level while the system is running, going to the following URL (either in a browser or for example, using curl) will cause Solr to re-load the properties file.
    https://<solrHostName>:<solrPort>/solr/admin/cores?action=LOG4J&resource=log4j-solr.properties