Created 02-19-2018 09:08 PM
I tried following this guide, but it didn't work.
I just need to output ControllerStatusReportingTask logs into a separate file in my logs directory.
Attached is mylogback.xml logback.xml
Created 02-19-2018 09:15 PM
Also, the reporting logs no longer appear in the nifi-app.log but they do not populate in the new file specified in the logback.xml
I am using Apache nifi 1.3.0.
Created 02-21-2018 11:16 AM
I'm seeing the same behaviour in Nifiv1.4.0
Created 02-21-2018 11:35 AM
When doing the logging you have to specify the class path's. See below. Note the class options in the appender, encoder and rollingPolicy elements.
Created 02-21-2018 12:05 PM
You did not specify the rolling appender type in your new appender. Since the appender entry is invalid it is not being used.
Modify your appender line to look like this:
<appender name="5MINUTES_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
Created 10-11-2018 09:56 PM
Do we have to append ".Processors" to the logger name as <logger name="org.apache.nifi.controller.ControllerStatusReportingTask.Processors", instead of <logger name="org.apache.nifi.controller.ControllerStatusReportingTask"?