Chris Hostetter schrieb:

> I freely admit, I didn't appricate how much commons-logging is intended to
> be a middle-layer API for other arbitrary logging frameworks like JDK
> logging or log4j, but i still don't think it makes sense to switch,
> particulararly given the last paragraph of this wiki...
> 
> http://wiki.apache.org/jakarta-commons/Commons_Logging_FUD
> 

As you saw using commons-logging is not just another logging framework,
but would allow to use basically any framework you would like.

Actually I see the argument made in the last paragraph very much in
favor of using it in Solr. Solr is intended to be used with other
applications, which will very likely use different logging frameworks.
Using commons-logging will make Solr easier to integrate with other
applications and webcontainers. As I see it java.util.logging is
configured through a properties file in $JAVA_HOME/jre/lib. Which not
all that nice, other logging frameworks are more flexible to configure
and use.

The added dependency is just one jar (apache project too), which is not
a to high price to pay for the benefits pointed out before.

-- 
Maximilian Hütter
blue elephant systems GmbH
Wollgrasweg 49
D-70599 Stuttgart

Tel            :  (+49) 0711 - 45 10 17 578
Fax            :  (+49) 0711 - 45 10 17 573
e-mail         :  [EMAIL PROTECTED]
Sitz           :  Stuttgart, Amtsgericht Stuttgart, HRB 24106
Geschäftsführer:  Joachim Hörnle, Thomas Gentsch, Holger Dietrich

Reply via email to