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

FetchItemQueue logs are logged with wrong class name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.11, 1.12
    • 1.13
    • fetcher
    • None
    • Any

    • 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

              kamaci Furkan Kamaci
              Mgupta Monika Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: