I'm happy with how PM2 formats and outputs the log with
pm2 logs app
But currently it truncates the log to 20 last entries:
[PM2] Tailing last 20 lines for [app] process ...
Is there a way to change the limits and output it in a similar manner, but with 1000 lines, for example?
Try this
pm2 logs 'YOUR_PROCESS' --lines 1000