<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: CM/CFM: ControllerStatusReportingTask in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/CM-CFM-ControllerStatusReportingTask/m-p/325436#M229631</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/92002"&gt;@paygb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are absolutely correct, the Cloudera Manager configuration property within NiFi configurations fro logback.xml does require you to input the entire logbck.xml and then add your modifications.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_0-1632765059020.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32439iCB23B8B0BC0B9975/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MattWho_0-1632765059020.png" alt="MattWho_0-1632765059020.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding a new logger for the ControllerStatusReportingTask would require adding a logger like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;logger name="org.apache.nifi.controller.ControllerStatusReportingTask" level="DEBUG"/&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;You can add this logger in line along with other loggers already in the logback.xml&lt;BR /&gt;&lt;BR /&gt;The result would be all logging from this class at a DEBUG level and below would go in to the nifi-app.log.&lt;BR /&gt;&lt;BR /&gt;You could optionally add an additional appender (NiFi has three existing appender now for the nifi-app.log, nifi-user.log and nifi-bootstrap.log files).&amp;nbsp; You can copy and modify one of those and the your logger would need to look like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;logger name="org.apache.nifi.controller.ControllerStatusReportingTask" level="DEBUG" additivity="false"&amp;gt;
    &amp;lt;appender-ref ref="NEW_APPENDER"/&amp;gt;
  &amp;lt;/logger&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you found this response assisted with your query, please take a moment to login and click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
    <pubDate>Mon, 27 Sep 2021 17:57:25 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2021-09-27T17:57:25Z</dc:date>
    <item>
      <title>CM/CFM: ControllerStatusReportingTask</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CM-CFM-ControllerStatusReportingTask/m-p/325359#M229609</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using CM 6.3.1 with CFM. As I am exploring NIFI -&amp;gt; ControllerStatusReportingTask and I wanted to log the output to a log file. I realised the logback.xml is auto generated by Cloudera Manager, how am I going to add customize logback configuration for the ControllerStatusReportingTask into the logback.xml?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the CM, there is a NIFI Node XML Override (logback_safety_valve). Should I use this?&lt;/P&gt;
&lt;P&gt;It seems that, the input require a complete logback XML file. Just wanted to be sure of the approach as I will be upgrading on my production system.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:43:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CM-CFM-ControllerStatusReportingTask/m-p/325359#M229609</guid>
      <dc:creator>paygb</dc:creator>
      <dc:date>2022-09-16T14:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: CM/CFM: ControllerStatusReportingTask</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CM-CFM-ControllerStatusReportingTask/m-p/325436#M229631</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/92002"&gt;@paygb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are absolutely correct, the Cloudera Manager configuration property within NiFi configurations fro logback.xml does require you to input the entire logbck.xml and then add your modifications.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_0-1632765059020.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32439iCB23B8B0BC0B9975/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MattWho_0-1632765059020.png" alt="MattWho_0-1632765059020.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding a new logger for the ControllerStatusReportingTask would require adding a logger like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;logger name="org.apache.nifi.controller.ControllerStatusReportingTask" level="DEBUG"/&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;You can add this logger in line along with other loggers already in the logback.xml&lt;BR /&gt;&lt;BR /&gt;The result would be all logging from this class at a DEBUG level and below would go in to the nifi-app.log.&lt;BR /&gt;&lt;BR /&gt;You could optionally add an additional appender (NiFi has three existing appender now for the nifi-app.log, nifi-user.log and nifi-bootstrap.log files).&amp;nbsp; You can copy and modify one of those and the your logger would need to look like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;logger name="org.apache.nifi.controller.ControllerStatusReportingTask" level="DEBUG" additivity="false"&amp;gt;
    &amp;lt;appender-ref ref="NEW_APPENDER"/&amp;gt;
  &amp;lt;/logger&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you found this response assisted with your query, please take a moment to login and click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 17:57:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CM-CFM-ControllerStatusReportingTask/m-p/325436#M229631</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2021-09-27T17:57:25Z</dc:date>
    </item>
  </channel>
</rss>

