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

Log with Generic Class Name at Nutch 2.x

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.4
    • Component/s: None
    • Labels:
      None

      Description

      There are many mistakes when some reference code is copied and created a new class and a logger is used. We can log with a generic class name to avoid it as like:

      private static final Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
      

      (cf. SOLR-8324)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: