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

Log with Generic Class Name at Nutch 1.x

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.12
    • 1.13
    • 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: