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

Log with Generic Class Name at Nutch 2.x

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment