On 12/20/2021 12:48 PM, Hitesh Kulkarni wrote:
We are using Solr 7.5, currently it is using Log4j 2.11.0. So we just want to update Log4j version instead of updating Solr. So is it possible to update only Log4j version in Solr?
We have had reports of success upgrading the log4j jars when the original version was 2.13.0 and 2.14.1. I do not know if it will work when the original version is 2.11.0, but the chances are good. If Solr starts successfully after the replacement and there are no new errors in solr.log, you're probably good.
I just did an upgrade to log4j 2.17.0 on solr 7.5.0 by replacing jars in server/lib/ext with their 2.17.0 counterparts and deleting the 2.11.0 versions and it seems to be working perfectly. I did a query that resulted in an error and I see the error log entry in the admin UI. The contents of solr.log do not look problematic.
Thanks, Shawn
