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

Talat UYARER edited comment on NUTCH-1738 at 3/18/14 8:29 AM:
--------------------------------------------------------------

Hi [~lewismc],

I attached a patch for this information. Can you review it ? 


was (Author: talat):
Hi [~lewis] ,

I attached a patch for this information. Can you review it ? 

> Expose number of URLs generated per batch in GeneratorJob
> ---------------------------------------------------------
>
>                 Key: NUTCH-1738
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1738
>             Project: Nutch
>          Issue Type: Bug
>          Components: generator
>    Affects Versions: 2.2.1
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>             Fix For: 2.3
>
>         Attachments: NUTCH-1738.patch
>
>
> GeneratorJob contains one trivial line of logging
> {code:title=GeneratorJob.java|borderStyle=solid}
> LOG.info("GeneratorJob: generated batch id: " + batchId);
> {code}
> I propose to improve this logging by exposing how many URL's are contained 
> within the generated batch. Something like
> {code:title=GeneratorJob.java|borderStyle=solid}
> LOG.info("GeneratorJob: generated batch id: " + batchId + " containing " + 
> $numOfURLs + " URLs");
> {code}



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

Reply via email to