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

Log with Generic Class Name at Nutch 2.x

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.1
    • 2.4
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: