How to rotate log files in Node-RED? I will be writing Node-RED logs to a log file. But I want a new file to be created/replace the existing file when it reaches a particular time or size limit. How can I achieve this like I do in Java and other programming languages?
If my approach is wrong in this scenario, please advice the right approach.