Re: NiFi not rolling logs

2023-07-08 Thread Lars Winderling
Hi Mike, thanks for the advice. Our NiFi instances are running for week, if not months. Often times until the next update, so the startup option will bring much benefit, I fear, or am I mistaken. But looking forward to 1.23! On 8 July 2023 13:40:15 CEST, Mike Thomsen wrote: >Lars, > >You

Re: NiFi not rolling logs

2023-07-08 Thread Mike Thomsen
Lars, You should also experiment with cleanHistoryOnStart. I did some experimentation this morning where I set the maxHistory to 1 (1 day vs the default of 30 which is 30 days), created a few fake log files from previous days and NiFi immediately cleared out those "old files" on startup. I have a

Re: NiFi not rolling logs

2023-07-08 Thread Jens M. Kofoed
Hi Please have a look at this old jira: https://issues.apache.org/jira/browse/NIFI-2203 I have had issues where a processor create a log message ever 10ms resulting in the disk is being full. For me it seems like the maxHistory settings only effect how many files defined by the rolling patten to

Re: NiFi not rolling logs

2023-07-08 Thread Lars Winderling
Dear NiFiers, we have been bugged so much by overflowing logfiles, and nothing has ever helped. I thought it was just my lack of skills...especially when NiFi has some issues and keeps on spilling stacktraces with high frequency to disk, it eats up space quickly. I have created cronjobs that