Hello everyone, We want to log our queries to a HTTP endpoint and tried configuring our log4j settings accordingly. We are using Solr inside Docker with the official Solr image (version solr:8.3.1).
As soon as we add a http appender, we receive errors on startup and solr fails to start completely: 2020-06-17T07:06:54.976390509Z DEBUG StatusLogger JsonLayout$Builder(propertiesAsList="null", objectMessageAsJsonObject="null", ={}, eventEol="null", compact="null", complete="null", locationInfo="null", properties="true", includeStacktrace="null", stacktraceAsString="null", includeNullDelimiter="null", ={}, charset="null", footerSerializer=null, headerSerializer=null, Configuration(/var/solr/log4j2.xml), footer="null", header="null") 2020-06-17T07:06:55.121825039Z 2020-06-17 07:06:55.104:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@611df6e3{/solr,file:///opt/solr-8.3.1/server/solr-webapp/webapp/,UNAVAILABLE}{/opt/solr-8.3.1/server/solr-webapp/webapp} 2020-06-17T07:06:55.121856339Z java.lang.NoClassDefFoundError: Failed to initialize Apache Solr: Could not find necessary SLF4j logging jars. If using Jetty, the SLF4j logging jars need to go in the jetty lib/ext directory. For other containers, the corresponding directory should be used. For more information, see: http://wiki.apache.org/solr/SolrLogging It seems that only when using the http appender these jars are needed, without this appender everything works. Can you point me in the right direction, where I need to place the needed jars? Seems to be a little special since I only access the /var/solr mount directly, the rest is running in docker. Kind Regards, Florian Krönert Senior Software Developer [cid:image001.gif@01D6448A.53F24410]<https://www.orbis.de/de.html> ORBIS AG | Planckstraße 10 | D-88677 Markdorf Phone: +49 7544 50398 21 | Mobile: +49 162 3065972 | E-Mail: florian.kroen...@orbis.de<mailto:florian.kroen...@orbis.de> www.orbis.de<http://www.orbis.de/> [cid:image002.png@01D6448A.53F24410]<https://www.orbis.de/de/sap-by-orbis.html> [cid:image003.jpg@01D6448A.53F24410] Registered Seat: Saarbrücken Commercial Register Court: Amtsgericht Saarbrücken, HRB 12022 Board of Management: Thomas Gard (Chairman), Michael Jung, Stefan Mailänder, Frank Schmelzer Chairman of the Supervisory Board: Ulrich Holzer [cid:image004.png@01D6448A.53F24410]<https://www.facebook.com/ORBIS.AG> [cid:image005.png@01D6448A.53F24410] <https://www.linkedin.com/company/orbis-ag/> [cid:image006.png@01D6448A.53F24410] <https://www.xing.com/companies/orbisag> [cid:image007.png@01D6448A.53F24410] <https://twitter.com/ORBIS_AG> [cid:image008.png@01D6448A.53F24410] <https://www.youtube.com/channel/UC5Fx5UsUy4FkzB0dfCWXwYw/featured> [cid:image009.png@01D6448A.53F24410] [cid:image010.png@01D6448A.53F24410]<https://www.orbis.de/de/aktuelles/news/aktuelle-presse/news-detail/article/inner-circle-award-orbis-zaehlt-erneut-zu-den-weltbesten-partnern-fuer-microsoft-business-application.html> [cid:EBanner_MS_Workshops_650x130px_6d91b97b-fc83-4ac1-9fd1-36a1a2fc2cc1.png]<https://www.orbis.de/de/aktuelles/events-websessions/online-workshops.html>