Sorry, I don't have my Apache login credentials handy, so replying before I forget:
Use the slf4j-jcl: http://mvnrepository.com/artifact/org.slf4j/slf4j-jcl/1.6.1 This is the commons-logging API forwarded to slf4j, so everything should end up with whatever backend you choose to use. We do this use logback as our backend, and ended up having to put in the slf4j adaptors for commons-logging, JDK, and log4j into our dependencies, and it works just fine. Kirby On Sat, Aug 27, 2011 at 2:18 PM, Lewis John McGibbney (JIRA) <[email protected]> wrote: > > [ > https://issues.apache.org/jira/browse/NUTCH-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Lewis John McGibbney updated NUTCH-1091: > ---------------------------------------- > > Affects Version/s: 2.0 > Fix Version/s: 2.0 > Summary: Remove commons logging dependency from Nutch branch and > trunk (was: Remove commons logging dependency from Nutch branch.) > > Initially I thought that this just applied to branch-1.4, however I also > noticed that the commons-logging-1.1.1.jar still exists in > $NUTCH_TRUNK/runtime/local/lib. Upon further inspection within ivy/ivy.xml > there is no explicit reference to a common-logging dependency therefore it > must exist as a dependency to some Nutch dependency with a default > configuration. > {code} > <dependency org="commons-codec" name="commons-codec" rev="1.3" > conf="*->default" /> > {code} > Unless we can determine and prove that common-logging is not required within > any other Nutch dependency then ultimately we will be affecting some > functionality which might/could have a detrimental impact. > > On the other hand, if we found that there was no harm caused by removing the > common-logging dependency completely by adding an exclude e.g.: > {code} > <exclude org="commons-logging-..." name="etc" /> > {code} > or an even more explicit global exclusion, then we could completely diverge > from the dependency altogether. > I will work on this and hopefully get some results shortly. > >> Remove commons logging dependency from Nutch branch and trunk >> ------------------------------------------------------------- >> >> Key: NUTCH-1091 >> URL: https://issues.apache.org/jira/browse/NUTCH-1091 >> Project: Nutch >> Issue Type: Improvement >> Components: build >> Affects Versions: 1.4, 2.0 >> Environment: Ubuntu 11.04 (natty) >> Kernel Linux 2.6.38-11-generic >> GNOME 2.32.1 >> Reporter: Lewis John McGibbney >> Assignee: Lewis John McGibbney >> Priority: Minor >> Fix For: 1.4, 2.0 >> >> >> Once all logging has been shifted to slf4j with log4j backend as per >> NUTCH-1078, we should deprecate the ivy dependency on common logging. > > -- > This message is automatically generated by JIRA. > For more information on JIRA, see: http://www.atlassian.com/software/jira > > >

