<?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: How to log message at the Processor Group Level in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-log-message-at-the-Processor-Group-Level/m-p/412424#M253441</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/128357"&gt;@HoangNguyen&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The "&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#deprecation-logging" target="_blank" rel="noopener"&gt;Deprecation log&lt;/A&gt;" has nothing to do with your running dataflows on your NiFi canvas.&amp;nbsp; The deprecation log contains notifications about NiFi components you may be using that are deprecated.&amp;nbsp; Deprecated components get removed in future Apache NiFi versions.&amp;nbsp; This log is to make you aware of this so you can make dataflow design changes to stop using them before you migrate to newer Apache NiFi release.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The NiFi&amp;nbsp;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#standard-log-files" target="_blank" rel="noopener"&gt;Standard Log Files&amp;nbsp;&lt;/A&gt;&amp;nbsp;include the "bootstrap log, app log, and user log".&amp;nbsp;&lt;BR /&gt;The app log is where you will find alll your dataflow component based logging.&amp;nbsp; In the logback.xml, "logger" will write to the nifi-app.log by default unless a specific "appender-ref is declared for the logger.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;NiFi app.log can produce a lot of logging, but to get it all you can adjust:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;logger name="org.apache.nifi" level="INFO"/&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;to "DEBUG" instead of INFO.&amp;nbsp; It will be very noisy.&lt;BR /&gt;&lt;BR /&gt;Logback standard log levels:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;OFF&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;This level turns off all logging.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;No messages will be outputted.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;ERROR&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Indicates a serious error that might still allow the application to continue running, but requires attention.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;WARN&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Indicates a potentially harmful situation that should be investigated, but does not necessarily prevent the application from continuing.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;INFO&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Provides general information about the application's progress and significant events.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;DEBUG&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Offers detailed information useful for debugging purposes, often including variable values and execution flow.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="bsmXxe"&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;TRACE&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Provides even finer-grained information than DEBUG, typically used for extremely detailed tracing of execution paths.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;DIV class="bsmXxe"&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;ALL&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;This level enables all logging, including messages at all other levels.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;P&gt;Keep in mind that just because you set DEBUG log level, does not mean every component will produce DEBUG level log messages. It all depends on what logging exists within the component class and dependent libraries.&amp;nbsp; When set to DEBUG, it will log DEBUG and all level below it (INFO, WARN, ERROR).&amp;nbsp; If you set "INFO", you also get WARN and ERROR logging.&lt;BR /&gt;&lt;BR /&gt;NiFi user authorization logging will go to the nifi-user.log.&amp;nbsp; This is logging related to access to NiFi.&amp;nbsp; Nifi-bootstrap.log has logging for you rNiFi bootstrap process.&amp;nbsp; The bootstrap is what is lauched when you execute the nifi.sh start command.&amp;nbsp; The bootstrap then starts the nifi main child process whcih loads your NiFi and dataflows.&amp;nbsp; The bootstrap then monitors that child process to make sure it is still live (restarts it automatically if it dies).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Sep 2025 12:26:32 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2025-09-23T12:26:32Z</dc:date>
    <item>
      <title>How to log message at the Processor Group Level</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-log-message-at-the-Processor-Group-Level/m-p/412393#M253428</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;I would like to implement logging at the Processor Group level. Suppose we have two processor groups, A and B, and I want to maintain separate log files for each. When Processor Group A is started, its activities should be logged in a dedicated log file for Group A. Similarly, Processor Group B should have its own separate log file. How can I achieve this?&lt;/P&gt;&lt;P&gt;Thank you in advance for your assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 02:42:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-log-message-at-the-Processor-Group-Level/m-p/412393#M253428</guid>
      <dc:creator>HoangNguyen</dc:creator>
      <dc:date>2025-09-22T02:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to log message at the Processor Group Level</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-log-message-at-the-Processor-Group-Level/m-p/412399#M253431</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/128357"&gt;@HoangNguyen&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As long as you are running a new enough version of Apache NiFi, you'll have an option with the process group configuration to set a logging suffix.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_0-1758544051309.png" style="width: 707px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/46325iA991CD148B1BE794/image-dimensions/707x758?v=v2" width="707" height="758" role="button" title="MattWho_0-1758544051309.png" alt="MattWho_0-1758544051309.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For each process group you want a separate log file, create a unique suffix.&lt;BR /&gt;&lt;BR /&gt;In above example I used the suffix "extracted".&lt;BR /&gt;In my NiFi "logs" directory, I now have a new "nifi-app-extracted.log" file that contains the logging output of every component contained within that process group.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_1-1758544245913.png" style="width: 695px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/46326iD74218EC36063632/image-dimensions/695x132?v=v2" width="695" height="132" role="button" title="MattWho_1-1758544245913.png" alt="MattWho_1-1758544245913.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 12:32:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-log-message-at-the-Processor-Group-Level/m-p/412399#M253431</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-09-22T12:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to log message at the Processor Group Level</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-log-message-at-the-Processor-Group-Level/m-p/412418#M253437</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;I have a follow-up question. I would the log file to capture more than just errors. After researching, I found that we can configure the log level (e.g., TRACE, DEBUG, INFO) in the &lt;SPAN&gt;conf/logback.xml&lt;/SPAN&gt; file. Is this correct? However, I'm unsure about how to configure it properly.&lt;/P&gt;&lt;P&gt;Here’s the relevant section from my &lt;SPAN&gt;logback.xml&lt;/SPAN&gt;:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;xml&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;!-- Deprecation Log --&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;lt;logger name="deprecation" level="WARN" additivity="false"&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;    &amp;lt;appender-ref ref="DEPRECATION_FILE"/&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;lt;/logger&amp;gt;&lt;/SPAN&gt;

&lt;SPAN&gt;&amp;lt;logger name="org.apache.nifi" level="INFO"/&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;lt;logger name="org.apache.nifi.processors" level="WARN"/&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;lt;logger name="org.apache.nifi.processors.standard.LogAttribute" level="INFO"/&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;lt;logger name="org.apache.nifi.processors.standard.LogMessage" level="INFO"/&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;lt;logger name="org.apache.nifi.controller.repository.StandardProcessSession" level="WARN"/&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;lt;logger name="org.apache.parquet.hadoop.InternalParquetRecordReader" level="WARN"/&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Would changing &lt;SPAN&gt;&amp;lt;logger name="deprecation" level="WARN" additivity="false"&amp;gt;&lt;/SPAN&gt; to &lt;SPAN&gt;&amp;lt;logger name="deprecation" level="TRACE" additivity="false"&amp;gt;&lt;/SPAN&gt; or &lt;SPAN&gt;&amp;lt;logger name="deprecation" level="DEBUG" additivity="false"&amp;gt;&lt;/SPAN&gt; be correct?&lt;/P&gt;&lt;P&gt;Thank you for your guidance.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 03:12:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-log-message-at-the-Processor-Group-Level/m-p/412418#M253437</guid>
      <dc:creator>HoangNguyen</dc:creator>
      <dc:date>2025-09-23T03:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to log message at the Processor Group Level</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-log-message-at-the-Processor-Group-Level/m-p/412424#M253441</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/128357"&gt;@HoangNguyen&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The "&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#deprecation-logging" target="_blank" rel="noopener"&gt;Deprecation log&lt;/A&gt;" has nothing to do with your running dataflows on your NiFi canvas.&amp;nbsp; The deprecation log contains notifications about NiFi components you may be using that are deprecated.&amp;nbsp; Deprecated components get removed in future Apache NiFi versions.&amp;nbsp; This log is to make you aware of this so you can make dataflow design changes to stop using them before you migrate to newer Apache NiFi release.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The NiFi&amp;nbsp;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#standard-log-files" target="_blank" rel="noopener"&gt;Standard Log Files&amp;nbsp;&lt;/A&gt;&amp;nbsp;include the "bootstrap log, app log, and user log".&amp;nbsp;&lt;BR /&gt;The app log is where you will find alll your dataflow component based logging.&amp;nbsp; In the logback.xml, "logger" will write to the nifi-app.log by default unless a specific "appender-ref is declared for the logger.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;NiFi app.log can produce a lot of logging, but to get it all you can adjust:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;logger name="org.apache.nifi" level="INFO"/&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;to "DEBUG" instead of INFO.&amp;nbsp; It will be very noisy.&lt;BR /&gt;&lt;BR /&gt;Logback standard log levels:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;OFF&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;This level turns off all logging.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;No messages will be outputted.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;ERROR&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Indicates a serious error that might still allow the application to continue running, but requires attention.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;WARN&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Indicates a potentially harmful situation that should be investigated, but does not necessarily prevent the application from continuing.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;INFO&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Provides general information about the application's progress and significant events.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;DEBUG&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Offers detailed information useful for debugging purposes, often including variable values and execution flow.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="bsmXxe"&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;TRACE&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Provides even finer-grained information than DEBUG, typically used for extremely detailed tracing of execution paths.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;DIV class="bsmXxe"&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;ALL&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;This level enables all logging, including messages at all other levels.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;P&gt;Keep in mind that just because you set DEBUG log level, does not mean every component will produce DEBUG level log messages. It all depends on what logging exists within the component class and dependent libraries.&amp;nbsp; When set to DEBUG, it will log DEBUG and all level below it (INFO, WARN, ERROR).&amp;nbsp; If you set "INFO", you also get WARN and ERROR logging.&lt;BR /&gt;&lt;BR /&gt;NiFi user authorization logging will go to the nifi-user.log.&amp;nbsp; This is logging related to access to NiFi.&amp;nbsp; Nifi-bootstrap.log has logging for you rNiFi bootstrap process.&amp;nbsp; The bootstrap is what is lauched when you execute the nifi.sh start command.&amp;nbsp; The bootstrap then starts the nifi main child process whcih loads your NiFi and dataflows.&amp;nbsp; The bootstrap then monitors that child process to make sure it is still live (restarts it automatically if it dies).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 12:26:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-log-message-at-the-Processor-Group-Level/m-p/412424#M253441</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-09-23T12:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to log message at the Processor Group Level</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-log-message-at-the-Processor-Group-Level/m-p/412444#M253453</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you so much.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very clear details and usefuls&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 01:43:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-log-message-at-the-Processor-Group-Level/m-p/412444#M253453</guid>
      <dc:creator>HoangNguyen</dc:creator>
      <dc:date>2025-09-24T01:43:46Z</dc:date>
    </item>
  </channel>
</rss>

