Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3877

Improve log messages using processor name

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Core Framework
    • None

    Description

      Right now log messages from processors will have the following format:

      2017-05-12 10:43:37,780 INFO [Timer-Driven Process Thread-4] o.a.nifi.processors.standard.InvokeHTTP InvokeHTTP[id=f7ebb153-015b-1000-f590-599786e16340] <log message>
      

      We have twice the information of the class name. Could be useful (in multi-tenant context) to have the processor name. If the processor is named "MyProcessor", we'd have something like:

      2017-05-12 10:43:37,780 INFO [Timer-Driven Process Thread-4] o.a.nifi.processors.standard.InvokeHTTP MyProcessor[id=f7ebb153-015b-1000-f590-599786e16340] <log message>
      

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            pvillard Pierre Villard

            Dates

              Created:
              Updated:

              Slack

                Issue deployment