Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Akka debug in IntelliJ with Apache NiFi

Highlighted

Akka debug in IntelliJ with Apache NiFi

New Contributor

Hi!

I'm working on a maven app with Apache NiFi and IntelliJ.

I haven't found any problems to debug my processor, although it hasn't been so easy with my services. 

I've edited NiFi logback.xml and bootstrap.conf files to that purpose but it wasn't useful for debugging my Akka services.

Below you'll find the code lines related to this fact in my logback.xml file:

 

<logger name="org.apache.nifi" level="INFO"/>
    <logger name="org.apache.nifi.akka" level="DEBUG"/>
    <logger name="org.apache.nifi.processors" level="DEBUG"/>
    <logger name="org.apache.nifi.processors.standard.LogAttribute" level="INFO"/>
    <logger name="org.apache.nifi.processors.standard.LogMessage" level="INFO"/>
    <logger name="org.apache.nifi.controller.repository.StandardProcessSession" level="WARN" />

 

 

line 2 is not working: 
<logger name="org.apache.nifi.akka" level="DEBUG"/>

Does anyone know how to debug akka in intelliJ for Apache Nifi?

 

Thanks!

 

1 REPLY 1

Re: Akka debug in IntelliJ with Apache NiFi

New Contributor

So finally my problem was solved. There was no need to specify the debug line for akka.

Though I still need to show in my nifi-app.log file akka loggings, which I haven't been able to do yet.

Anyone knows how?

I believe it has something to do with the bootstrap configuration.

Don't have an account?
Coming from Hortonworks? Activate your account here