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
pm2 logs 'process_name' --lines 500
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With