solrlog4jsolr6

Upgrading Solr 6 to use Log4j 2.x


Is it possible to upgrade Solr 6 to use Log4j 2.x?

We have some external dependencies on Solr 6 but would like to upgrade Log4j to the latest.


Solution

  • From the Apache documentation

    Apache Solr releases prior to 7.4 (i.e. Solr 5, Solr 6, and Solr 7 
    through 7.3) use Log4J 1.2.17 which may be vulnerable for installations 
    using non-default logging configurations that include the JMS Appender, 
    see 
    
    https://github.com/apache/logging-log4j2/pull/608#issuecomment-990494126 
    
    for discussion.