nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohammed Nadeem <>
Subject Re: How does logging level get set?
Date Thu, 20 Sep 2018 19:25:14 GMT

To answer to your question, Nifi has a context logger which is mapped to
logback.xml file. Generally INFO level of log is defaulted in nifi-app.logs.
In your code, you can simple use getLogger().debug("your message") or INFO,
ERROR,WARN etc to enable the logging into nifi-app.log with component-id

As I mentioned, by default INFO level would go to nifi-app.logs, you can
change the level in logback.xml under root.

Thanks & Regards,

Sent from:

View raw message