Is it possible to find where the logs are stored ?
pm2 logs show real time logs
pm2 status i can't find the path to the logs directory
Thanks!
Try pm2 desc 0:
โโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ status โ online โ
โ name โ echo โ
โ id โ 0 โ
โ path โ /Users/soyuka/Sites/forks/pm2/test/echo.js โ
โ exec cwd โ /Users/soyuka/Sites/forks/pm2 โ
โ error log path โ /Users/soyuka/.pm2/logs/echo-err-0.log โ
โ out log path โ /Users/soyuka/.pm2/logs/echo-out-0.log โ
โ pid path โ /Users/soyuka/.pm2/pids/echo.pid โ
โ mode โ cluster_mode โ
โ watch & reload โ โ โ
โ interpreter โ node โ
โ restarts โ 6 โ
โ unstable restarts โ 0 โ
โ uptime โ 11h โ
โ created at โ 2014-06-26T18:15:35.219Z โ
โโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
You can also declare your own paths through a json declaration file: https://github.com/Unitech/pm2#json-app-declaration
thank you
Most helpful comment
Try
pm2 desc 0:You can also declare your own paths through a
jsondeclaration file: https://github.com/Unitech/pm2#json-app-declaration