PM2 - Logs
PM2 allows you to easily manage your application's logs. You can display the logs coming from all your applications in real-time, flush them, and reload them. There are also different ways to configure how PM2 will handle your logs (separated in different files, merged, with timestamp...) without modifying anything in your code.
https://pm2.keymetrics.io/docs/usage/log-management/