We have noticed some of our nifi.err.log and nifi.wrapper.log files are growing bigger in to multiple GBs.
and i dont see any documentation on how to clear or roll those and also why are they keep getting bigger with messages like these below..
= Invalid query
The search filter cannot be recognized.
In short: Please ensure the maximum log size is configured properly.
Here is an existing answer that should help: https://community.hortonworks.com/answers/144063/view.html