Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2345

FetchItemQueue logs are logged with wrong class name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.11, 1.12
    • Fix Version/s: 1.13
    • Component/s: fetcher
    • Labels:
      None
    • Environment:

      Any

    • Flags:
      Important

      Description

      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);

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kamaci Furkan Kamaci
                Reporter:
                Mgupta Monika Gupta
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: