nifi-dev mailing list archives

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

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
etc.

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,
Nadeem



--
Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Mime
View raw message