Dominic
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
PM2 Logrotate
-
Dennis moved item to board Closed
11 months ago -
Dominic moved item to project Site Level Requests
1 year ago -
Dominic created the item
1 year ago