[
https://issues.apache.org/jira/browse/NUTCH-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lewis John McGibbney reassigned NUTCH-1738:
-------------------------------------------
Assignee: Lewis John McGibbney
> 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
>
>
> 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)