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

Fine-grained logging in multi-tenant context

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0-M1, 1.23.0
    • Core Framework
    • None

    Description

      In a multi-tenant approach, it could be interesting to offer to users a way to have a fine-grained logging capabilities per tenant.

      Let's say that root process group is used to have one process group per "project" accessed by different teams/users, it could be really useful to have a log file per process group containing logs for all elements inside this process group.

      A first version could be to develop a custom log appender that would log each message in a file dedicated to its process group parent.

      This improvement will ease the logging management when there are hundreds of processors separated between different teams and this will also prevent the access to the logs concerning one team by another team (could be a security issue).

      Attachments

        Issue Links

          Activity

            People

              timeabarna Timea Barna
              pvillard Pierre Villard
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 50m
                  5h 50m