run pm2 show (process Id) and it would tell you the log location. Solution 2: May be not using PM2 API but a workable method would be read ...
確定! 回上一頁