[ https://issues.apache.org/jira/browse/NUTCH-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ferdy Galema updated NUTCH-1198: -------------------------------- Attachment: NUTCH-1198.patch > Less verbose logging when unmapped mimetypes are trying to be parsed. > --------------------------------------------------------------------- > > Key: NUTCH-1198 > URL: https://issues.apache.org/jira/browse/NUTCH-1198 > Project: Nutch > Issue Type: Improvement > Reporter: Ferdy Galema > Priority: Trivial > Fix For: nutchgora > > Attachments: NUTCH-1198.patch > > > In some scenarios one does not want to parse all mimetypes. Despite the fact > that it is possible to configure what resources are being fetched (using > URLFilters for instance), it cannot be avoided that resources with unmapped > mimetypes are trying to be parsed. Currently this leads to log warnings with > stacktraces. This possible masks more important parsing errors, such as > errors in parsing itself. > This patch removes the stacktrace for "no suitable parser found" errors. Also > it display the error only once. (As opposed to what is currently the case). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira