nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ferdy Galema (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NUTCH-1198) Less verbose logging when unmapped mimetypes are trying to be parsed.
Date Fri, 04 Nov 2011 15:57:51 GMT

     [ 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

        

Mime
View raw message