Add option to increase displayed log lines in pm2 monit
Author: ysfaranCreated Sep 26, 2021Updated Aug 26, 2026
DISCLAIMER: This is a feature request so I can't use the given markdown template for new issues
Reasoning
If you use pm2 monit you only see a few log lines (in my case just 9) per process which is not really useful.
To make pm2 monit more useful it would be nice if you could configure how much log lines should be displayed for each process.
Desired Implementation
Add a lines option, which allows to display more lines for each process:
pm2 monit --lines 100Considered Alternatives
I know you can use
pm2 logs --lines 100but this is not really user-friendly if you want to monitor multiple processes at once.
Source: Unitech/pm2