A very helpful approach to redirecting logging for a particular processor type is presented here: https://community.hortonworks.com/questions/63071/in-apache-ni-fi-how-can-i-log-all-the-flowfile-att.html . It shows how we can tailor logback.xml to redirect logging for a given processor.
But this appears to redirect logging for every single instance of that processor type globally across the nifi service. This would not be ideal: for example, clearly others employing LogAttribute processors in their process groups for their flows may not want their logging redirected to my chosen log file for my LogAttribute instance. Has anyone figured out how to use the approach described by the link above - namely, add a custom Appender and Logger in logback.xml - to tailor the customization to a specific processor instance? Or perhaps even limit it to a particular Process Group? Thank you.
