Monika Gupta created NUTCH-2345:
-----------------------------------

             Summary: FetchItemQueue logs are logged with wrong class name
                 Key: NUTCH-2345
                 URL: https://issues.apache.org/jira/browse/NUTCH-2345
             Project: Nutch
          Issue Type: Bug
          Components: fetcher
    Affects Versions: 1.12, 1.11
         Environment: Any
            Reporter: Monika Gupta
            Priority: Minor
             Fix For: 1.13


I ran bin/nutch fetch and notice that the log statements of class 
FetchItemQueue.java are logged in logs/hadoop.log with wrong file name as 
FetchItemQueues.java
Refer the execution log:
2017-01-06 15:31:25,562 INFO  fetcher.FetchItemQueues -   maxThreads    = 1
2017-01-06 15:31:28,565 INFO  fetcher.FetchItemQueues -   inProgress    = 0

Issue is in the logger for class FetchItemQueue.java. 
Currently it is-
private static final Logger LOG = 
LoggerFactory.getLogger(FetchItemQueues.class);

Correction: It should be-
private static final Logger LOG = LoggerFactory.getLogger(FetchItemQueue.class);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to