Hi Jonathan, I think you just need some config on the classpath:
http://logging.apache.org/log4j/1.2/manual.html#defaultInit Michael Della Bitta Applications Developer o: +1 646 532 3062 | c: +1 917 477 7906 appinions inc. “The Science of Influence Marketing” 18 East 41st Street New York, NY 10017 t: @appinions <https://twitter.com/Appinions> | g+: plus.google.com/appinions w: appinions.com <http://www.appinions.com/> On Thu, Jul 11, 2013 at 12:45 PM, Jonathan Rochkind <rochk...@jhu.edu>wrote: > I am using SolrJ in a Java (actually jruby) project, with Solr 4.3. > > When I instantiate an HttpSolrServer, I get the dreaded: > > log4j:WARN No appenders could be found for logger > (org.apache.solr.client.solrj.**impl.HttpClientUtil). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See > http://logging.apache.org/**log4j/1.2/faq.html#noconfig<http://logging.apache.org/log4j/1.2/faq.html#noconfig>for > more info. > > > Using SolrJ as an embedded library in my own software, what is the proper > or 'best practice' way -- or failing that, just any way at all -- to > initialize log4j under Solr 4.3? > > I am not super familiar with Java or log4j; hopefully there is an easy way > to do this? > > (If someone has a way especially suited for jruby, even better; but just a > standard Java answer would be great too.) > > Thanks for any advice! >