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

Evaluate Addition of log4j-to-slf4j

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.16.0, 1.15.2
    • Extensions
    • None

    Description

      Several extension components include transitive dependencies on Log4j 2. NiFi uses the SLF4J API for logging in application code, and Logback as the runtime implementation. 

      The Log4j 2 system supports SLF4J for runtime message routing, which would ensure that all log messages route through SLF4J and Logback, as opposed to falling back to the default Log4j 2 appender.  Current extension components should be evaluated to determine whether an explicit dependency on log4j-to-slf4j is necessary to ensure proper runtime log handling for libraries that rely on the Log4j 2 API.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1h 20m
                  1h 20m