spritle.com
Rotate and Compress pm2 logs Elegantly - Blog - Spritle software
pm2 logs can grow big overtime. As big as 50GB or more in a month time based on your application usage. Eventually you may run out of disk space. Here are the simple steps to manage it. 1: Install logrotate sudo apt install logrotate 2: Install pm2-log rotate, which comes with loads of useful features. …