Hi Aldrin,
Thanks for your response.
i wants to keep only 5 files each file should having size 100KB. If total
size of the files reaches 500KB then it will delete oldest file and then
write new file.
I have tried SizeAndTimeBasedPolicy then it couldn't preferable for me to
use with respect to
I have tried below code to write logs based on SizeAndTimeBasedRollingPolicy
.
In that i can able to write files with respect to file size 100KB but not
able to maintain only 2 maxHistory files.It always write new file after
100KB successfully written.
Now i have using NiFI-1.3.0 which having