Dominic

Dominic

Closed

PM2 has an custom logrotate module. As you mentioned on discord a while ago that you'd like to enhance NodeJS support in the future I'd suggest to ad a configuration therefore.

You could split the logs every day and keep the latest X days as you do with Nginx logs. Optionally this could even be configurable via the dashboard

https://github.com/keymetrics/pm2-logrotate

PM2 Logrotate

1 total vote
Dominic
  • Dennis moved item to board Closed

    1 year ago
  • Dominic moved item to project Site Level Requests

    1 year ago
  • Dominic created the item

    1 year ago