You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2011/11/18 09:31:51 UTC
[jira] [Commented] (NUTCH-1198) Less verbose logging when unmapped
mimetypes are trying to be parsed.
[ https://issues.apache.org/jira/browse/NUTCH-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152720#comment-13152720 ]
Hudson commented on NUTCH-1198:
-------------------------------
Integrated in Nutch-nutchgora #71 (See [https://builds.apache.org/job/Nutch-nutchgora/71/])
NUTCH-1198 Less verbose logging when unmapped mimetypes are trying to be parsed.
ferdy : http://svn.apache.org/viewvc/nutch/branches/nutchgora/viewvc/?view=rev&root=&revision=1203224
Files :
* /nutch/branches/nutchgora/CHANGES.txt
* /nutch/branches/nutchgora/src/java/org/apache/nutch/parse/ParseUtil.java
> 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