Published
- 1 min read
pm2 clear logs
The solution for this is noted below
pm2 clear logs
Solution
pm2 flush
pm2 flush <api> # Clear the logs for the app with name/id matching <api>
Try other methods by searching on the site. That is if this doesn’t work