Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
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
- links to