Support Questions
Find answers, ask questions, and share your expertise

Nifi - How to capture a seperate log file for each/selected nifi processors ?

Nifi - How to capture a seperate log file for each/selected nifi processors ?

nifi - how to configure a logback.xml in nifi to capture seperate log files for each nifi processor in terms of debug and error mode ?? Thanks .

3 REPLIES 3
Highlighted

Re: Nifi - How to capture a seperate log file for each/selected nifi processors ?

You definitely could do this if you wanted to, but it would probably become a bit unmanageable when using a significant number of processors.

This post from yesterday talks about how to create a separate log file for LogAttribute, it would be the same for any other processors:

https://community.hortonworks.com/questions/63071/in-apache-ni-fi-how-can-i-log-all-the-flowfile-att...

Highlighted

Re: Nifi - How to capture a seperate log file for each/selected nifi processors ?

Guru
Highlighted

Re: Nifi - How to capture a seperate log file for each/selected nifi processors ?

Guru

This post will show you how to very quickly (seconds) build a flow that logs nifi at the processor and error level (or however you wish to customize). Very handy for development and production as well:

https://community.hortonworks.com/articles/65027/nifi-easy-custom-logging-of-diverse-sources-in-mer....

Don't have an account?