[ https://issues.apache.org/jira/browse/NUTCH-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lewis John McGibbney updated NUTCH-1078: ---------------------------------------- Attachment: NUTCH-1078-branch-1.4-20110824-v2.patch The attached patch replaces all FATAL logging errors with the slightly less severe ERROR logging. The patch fails with one javac error as follows {code} [javac] /home/lewis/ASF/branch-1.4/src/java/org/apache/nutch/indexer/solr/SolrIndexer.java:95: cannot find symbol [javac] symbol : method error(java.lang.Exception) [javac] location: interface org.slf4j.Logger [javac] LOG.error(e); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error BUILD FAILED /home/lewis/ASF/branch-1.4/build.xml:96: Compile failed; see the compiler error output for details. {code} Can anyone give a clue to as what is wrong and hwat I need to substitute the LOG.error(e); call in SolrWriter.java with. Thanks > Upgrade all instances of commons logging to slf4j (with log4j backend) > ---------------------------------------------------------------------- > > Key: NUTCH-1078 > URL: https://issues.apache.org/jira/browse/NUTCH-1078 > Project: Nutch > Issue Type: Improvement > Affects Versions: 1.4, 2.0 > Reporter: Lewis John McGibbney > Assignee: Lewis John McGibbney > Priority: Minor > Fix For: 1.4, 2.0 > > Attachments: NUTCH-1078-branch-1.4-20110816.patch, > NUTCH-1078-branch-1.4-20110824-v2.patch > > > Whilst working on another issue, I noticed that some classes still import and > use commons logging for example HttpBase.java > {code} > import java.util.*; > // Commons Logging imports > import org.apache.commons.logging.Log; > import org.apache.commons.logging.LogFactory; > // Nutch imports > import org.apache.nutch.crawl.CrawlDatum; > {code} > At this stage I am unsure how many (if any others) still import and reply > upon commons logging, however they should be upgraded to slf4j for branch-1.4. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira