pm2 log gets to big (mm-out.log)
After a while the log file (mm-out.log) of pm2 gets to big (>22Gb) and uses all the space of my sd card. I just delete the file and everything runs fine again. I would like to know if I have to turn of the log or is there something wrong and filling my log?
I get a calender fetcher event every few seconds
Calendar-Fetcher: Broadcasting 12 events.
Is that normal?
@azuettel edit config.js and
change the logLevel to look like this
logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
also, pm2 flush will clear the logs
@sdetweil thanks for the suggestion, I’ve putted the line in my config and for now every thing looks fine