keymetrics / pm2-logrotate

Automatically rotate all applications logs managed by PM2
1.24k stars 138 forks source link

Logs are not cut when pm2 delete all is used in exec_mode: "cluster" #185

Open caohuiboss opened 1 year ago

caohuiboss commented 1 year ago

Figures 39 and 40 image When I use pm2 delete all, delete all log files, and then start the pm2 start project, log uncutting problems occur, such as in instances: 3 There should be three log files. By default, the size of the log files exceeds 10M. However, two log files are not cut and become larger