You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Diaa (JIRA)" <ji...@apache.org> on 2014/04/28 00:28:15 UTC

[jira] [Commented] (NUTCH-1364) Add a counter in Generator for malformed urls

    [ https://issues.apache.org/jira/browse/NUTCH-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13982492#comment-13982492 ] 

Diaa commented on NUTCH-1364:
-----------------------------

Why is the exception shown if it is already reported with Malformed URL ?
Doesn't the exception string just clutter the logging?
Isn't this satement enough:
 LOG.warn("Malformed URL: '" + urlString + "', skipped")

> Add a counter in Generator for malformed urls
> ---------------------------------------------
>
>                 Key: NUTCH-1364
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1364
>             Project: Nutch
>          Issue Type: New Feature
>          Components: generator
>    Affects Versions: nutchgora, 1.5
>            Reporter: Lewis John McGibbney
>            Priority: Minor
>             Fix For: nutchgora, 1.6
>
>         Attachments: NUTCH-1364-nutchgora.patch, NUTCH-1364-trunk.patch
>
>
> This is a simple mechanism for counting the number of malformed urls we encounter within the Generator. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)