Adding Functionality to Apache NiFi
Also available as:
PDF
loading table of contents...

ComponentLog

Processors are encouraged to perform their logging via the ComponentLog interface, rather than obtaining a direct instance of a third-party logger. This is because logging via the ComponentLog allows the framework to render log messages that exceeds a configurable severity level to the User Interface, allowing those who monitor the dataflow to be notified when important events occur. Additionally, it provides a consistent logging format for all Processors by logging stack traces when in DEBUG mode and providing the Processor's unique identifier in log messages.