I am trying my own playing around with SolrJ.
And getting confused about the right way to handle SolrJ's logging,
especially in 4.3.
Would appreciate if Bob or anyone else has any tips or can give me any
info about what SolrMarc does, or point me to source code.
To begin with, I guess you need to configure log4j, when using SolrJ
4.3, to avoid having Solr complain about, well...
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 for
more info.
Does SolrMarc do something to keep SolrJ 4.3 from issuing this warning,
or does it just ignore it and keep going?
Does SolrMarc do anything to try and configure SolrJ's logging? To try
and unify SolrJ's own logging with any logging SolrMarc itself does, in
the same log file or whatever?
This stuff is indeed really confusing, I figure maybe you've had to
cross these paths in SolrMarc, and would be so grateful if you could
give me a few tips to learn from your experience. Just getting a handle
on what SolrMarc is actually doing (since it's apparently 'good
enough'), even if that's just "nothing, we just ignore that warning
message" would be helpful.
Jonathan