Re: Logging levels when using NiFi TestRunner...

2025-02-05 Thread Russell Bateman
Mark, Sorry, just getting back to this. Thank you for responding. The upshot is that customers/users of a NiFi flow can (still) modify ${NIFI_HOME}//conf/logback.xml/ in production to tailor the NiFi ComponentLog to react to DEBUG, TRACE, etc.: getLogger().[debug|trace|etc.]( "Log stateme

Re: Logging levels when using NiFi TestRunner...

2025-01-31 Thread Mark Payne
Russell, Generally, no. Logback is not typically included on the class path for Processors but instead is inherited at the root level of NiFi’s class loader hierarchy. For processors, you should generally add a *test* dependency on slf4j-simple. You can then configure that via a file in your sr

Logging levels when using NiFi TestRunner...

2025-01-31 Thread Russell Bateman
Should not a file in my IntelliJ IDEA project on the path /*project/src/test/resources/logback-test.xml*/, containing:         %-4relative [%thread] %-5level %logger{5}.%method:%line - %message%n       *        *         sho